stop matrix client on logout please

verto
David Baker 2015-08-04 16:45:39 +01:00
parent 259d9dc3a2
commit 5cffee7ce6
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ module.exports = {
}
Notifier.stop();
Presence.stop();
MatrixClientPeg.get().stopClient();
MatrixClientPeg.get().removeAllListeners();
MatrixClientPeg.unset();
this.notifyNewScreen('');