diff --git a/src/storages.ts b/src/storages.ts index 05e2c383..cbafd5aa 100644 --- a/src/storages.ts +++ b/src/storages.ts @@ -121,12 +121,4 @@ export class Storages { } return this._search; } - - /** Close the database connection, if one has been opened. */ - public static async close(): Promise { - if (this._database) { - const { kysely } = await this._database; - await kysely.destroy(); - } - } }