Remove unused Storages.close method

This commit is contained in:
Alex Gleason 2024-09-12 13:39:02 -05:00
parent a0fd702e09
commit 1732b69022
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -121,12 +121,4 @@ export class Storages {
}
return this._search;
}
/** Close the database connection, if one has been opened. */
public static async close(): Promise<void> {
if (this._database) {
const { kysely } = await this._database;
await kysely.destroy();
}
}
}