Skip to content

Commit f855d81

Browse files
Make sure DbManager is also disposed
1 parent 73e41f8 commit f855d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/databases/db-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class DbModule extends DisposableObject {
1717
super();
1818

1919
this.dbConfigStore = new DbConfigStore(app);
20-
this.dbManager = new DbManager(app, this.dbConfigStore);
20+
this.dbManager = this.push(new DbManager(app, this.dbConfigStore));
2121
}
2222

2323
public static async initialize(app: App): Promise<DbModule> {

0 commit comments

Comments
 (0)