Destroy idb worker when stopping client (#10899)
* Destroy idb worker when stopping client * Iterate * Iterate * Iterate
This commit is contained in:
parent
d68a4b72d9
commit
85860cae08
2 changed files with 2 additions and 0 deletions
|
@ -940,6 +940,7 @@ export function stopMatrixClient(unsetClient = true): void {
|
|||
if (unsetClient) {
|
||||
MatrixClientPeg.unset();
|
||||
EventIndexPeg.unset();
|
||||
cli.store.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue