mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Remove unused Storages.close method
This commit is contained in:
parent
a0fd702e09
commit
1732b69022
1 changed files with 0 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue