fix(sqlite): do not reset on destroy
am i actually retarded or something????
This commit is contained in:
parent
a36cdf1d20
commit
8e548d2aa5
1 changed files with 1 additions and 1 deletions
|
@ -503,9 +503,9 @@ export class SqliteStorage implements ITelegramStorage /*, IStateStorage*/ {
|
|||
}
|
||||
|
||||
destroy(): void {
|
||||
this.reset()
|
||||
this._db.close()
|
||||
clearInterval(this._vacuumTimeout)
|
||||
this._saveUnimportantLater.reset()
|
||||
}
|
||||
|
||||
reset(withAuthKeys = false): void {
|
||||
|
|
Loading…
Reference in a new issue