diff --git a/src/controllers/pages/MatrixChat.js b/src/controllers/pages/MatrixChat.js index c4b5a27b..ded72a09 100644 --- a/src/controllers/pages/MatrixChat.js +++ b/src/controllers/pages/MatrixChat.js @@ -97,6 +97,7 @@ module.exports = { } Notifier.stop(); Presence.stop(); + MatrixClientPeg.get().stopClient(); MatrixClientPeg.get().removeAllListeners(); MatrixClientPeg.unset(); this.notifyNewScreen('');