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
Make sure we actually stop the sync loop on logout
I think this was only a problem in the edgiest of edge conditions, but it certainly didn't look right.
This commit is contained in:
@@ -455,6 +455,7 @@ SyncApi.prototype._sync = function(syncOptions) {
|
|||||||
self._connectionReturnedDefer = null;
|
self._connectionReturnedDefer = null;
|
||||||
}
|
}
|
||||||
this._updateSyncState("STOPPED");
|
this._updateSyncState("STOPPED");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var filterId = syncOptions.filterId;
|
var filterId = syncOptions.filterId;
|
||||||
|
|||||||
Reference in New Issue
Block a user