Commit aed1c60e authored by JC Brand's avatar JC Brand

Still trying to fix travis issue.

Stop listening on the _converse obj sooner
parent 6c3990ac
...@@ -452,12 +452,14 @@ function cleanup () { ...@@ -452,12 +452,14 @@ function cleanup () {
} }
delete _converse.controlboxtoggle; delete _converse.controlboxtoggle;
delete _converse.chatboxviews; delete _converse.chatboxviews;
_converse.connection.reset(); _converse.connection.reset();
_converse.stopListening();
_converse.tearDown(); _converse.tearDown();
_converse.stopListening();
_converse.off();
delete _converse.config; delete _converse.config;
initClientConfig(); initClientConfig();
_converse.off();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment