From 1732b690220995bc237bbcf4ed84d6e053a4c5a1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 12 Sep 2024 13:39:02 -0500 Subject: [PATCH] Remove unused Storages.close method --- src/storages.ts | 8 -------- 1 file changed, 8 deletions(-) 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(); - } - } }