fix: lockManager.close

This commit is contained in:
chenos 2024-08-15 15:39:51 +08:00 committed by mytharcher
parent 387e16f3bf
commit dcb22c8ce3

View File

@ -533,6 +533,10 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
await this.telemetry.shutdown(); await this.telemetry.shutdown();
} }
if (this.lockManager) {
await this.lockManager.close();
}
this.closeLogger(); this.closeLogger();
const oldDb = this.db; const oldDb = this.db;