You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Stop devicelist when client is stopped
To avoid the devicelist trying to save after the client has been stopped Hopefully will fix random test failures on node 11.
This commit is contained in:
@@ -221,6 +221,7 @@ Crypto.prototype.start = function() {
|
||||
/** Stop background processes related to crypto */
|
||||
Crypto.prototype.stop = function() {
|
||||
this._outgoingRoomKeyRequestManager.stop();
|
||||
this._deviceList.stop();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user