Make sure DbManager is also disposed
This commit is contained in:
@@ -17,7 +17,7 @@ export class DbModule extends DisposableObject {
|
|||||||
super();
|
super();
|
||||||
|
|
||||||
this.dbConfigStore = new DbConfigStore(app);
|
this.dbConfigStore = new DbConfigStore(app);
|
||||||
this.dbManager = new DbManager(app, this.dbConfigStore);
|
this.dbManager = this.push(new DbManager(app, this.dbConfigStore));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async initialize(app: App): Promise<DbModule> {
|
public static async initialize(app: App): Promise<DbModule> {
|
||||||
|
|||||||
Reference in New Issue
Block a user