mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-26 16:54:20 +01:00
Remove unused Storages.close method
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user