We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f990b13 commit 3f027b8Copy full SHA for 3f027b8
meerkat-dbm/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@devrev/meerkat-dbm",
3
- "version": "0.0.13",
+ "version": "0.0.131",
4
"dependencies": {
5
"tslib": "^2.3.0",
6
"@duckdb/duckdb-wasm": "^1.28.0",
meerkat-dbm/src/dbm/dbm.spec.ts
@@ -83,6 +83,9 @@ const mockDB = {
83
}, 200);
84
});
85
},
86
+ close: async () => {
87
+ // do nothing
88
+ },
89
};
90
91
meerkat-dbm/src/dbm/dbm.ts
@@ -53,6 +53,11 @@ export class DBM {
53
}
54
55
private async _shutdown() {
56
+ if (this.connection) {
57
+ await this.connection.close();
58
+ this.connection = null;
59
+ }
60
+ this.logger.debug('Shutting down the DB');
61
await this.instanceManager.terminateDB();
62
63
0 commit comments