Skip to content

Commit 5cffee7

Browse files
committed
stop matrix client on logout please
1 parent 259d9dc commit 5cffee7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/controllers/pages/MatrixChat.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ module.exports = {
9797
}
9898
Notifier.stop();
9999
Presence.stop();
100+
MatrixClientPeg.get().stopClient();
100101
MatrixClientPeg.get().removeAllListeners();
101102
MatrixClientPeg.unset();
102103
this.notifyNewScreen('');

0 commit comments

Comments
 (0)