diff --git a/packages/core/server/src/application.ts b/packages/core/server/src/application.ts index c3c7421d7d..03fc74ae9a 100644 --- a/packages/core/server/src/application.ts +++ b/packages/core/server/src/application.ts @@ -533,6 +533,10 @@ export class Application exten await this.telemetry.shutdown(); } + if (this.lockManager) { + await this.lockManager.close(); + } + this.closeLogger(); const oldDb = this.db;