Merge pull request #589 from matrix-org/dbkr/dont_crash_if_no_dmroommap
Don't throw exception on stop if no DMRoomMap
This commit is contained in:
commit
aed5a95c8f
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ export function stopMatrixClient() {
|
|||
Notifier.stop();
|
||||
UserActivity.stop();
|
||||
Presence.stop();
|
||||
DMRoomMap.shared().stop();
|
||||
if (DMRoomMap.shared()) DMRoomMap.shared().stop();
|
||||
var cli = MatrixClientPeg.get();
|
||||
if (cli) {
|
||||
cli.stopClient();
|
||||
|
|
Loading…
Reference in a new issue