fix: groups observer dispose

This commit is contained in:
ascarbek 2023-03-17 13:13:04 +06:00
parent fa427fe650
commit 4b1f45a4be

View File

@ -154,6 +154,7 @@ export class DatabaseController {
this.groups.value.forEach((group) => {
void group.dispose();
});
await this.groupsObserver.unsubscribe();
await this.backendService.closeDatabase();
await this.fieldController.dispose();
await this.databaseViewCache.dispose();