mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: groups observer dispose
This commit is contained in:
parent
fa427fe650
commit
4b1f45a4be
@ -154,6 +154,7 @@ export class DatabaseController {
|
|||||||
this.groups.value.forEach((group) => {
|
this.groups.value.forEach((group) => {
|
||||||
void group.dispose();
|
void group.dispose();
|
||||||
});
|
});
|
||||||
|
await this.groupsObserver.unsubscribe();
|
||||||
await this.backendService.closeDatabase();
|
await this.backendService.closeDatabase();
|
||||||
await this.fieldController.dispose();
|
await this.fieldController.dispose();
|
||||||
await this.databaseViewCache.dispose();
|
await this.databaseViewCache.dispose();
|
||||||
|
Loading…
Reference in New Issue
Block a user