Destroy idb worker when stopping client (#10899)

* Destroy idb worker when stopping client

* Iterate

* Iterate

* Iterate
This commit is contained in:
Michael Telatynski 2023-05-16 16:08:01 +01:00 committed by GitHub
parent d68a4b72d9
commit 85860cae08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -940,6 +940,7 @@ export function stopMatrixClient(unsetClient = true): void {
if (unsetClient) {
MatrixClientPeg.unset();
EventIndexPeg.unset();
cli.store.destroy();
}
}
}