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 eeda56a commit fd9f408Copy full SHA for fd9f408
packages/cubejs-duckdb-driver/src/DuckDBDriver.ts
@@ -132,7 +132,8 @@ export class DuckDBDriver extends BaseDriver implements DriverInterface {
132
133
public async release(): Promise<void> {
134
if (this.initPromise) {
135
- const close = promisify((await this.initPromise).close).bind(this);
+ const db = await this.initPromise;
136
+ const close = promisify(db.close).bind(db);
137
this.initPromise = null;
138
139
await close();
0 commit comments