From dcb22c8ce3f75d2cc637e87b93c63f1b7c4f0dea Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 15 Aug 2024 15:39:51 +0800 Subject: [PATCH] fix: lockManager.close --- packages/core/server/src/application.ts | 4 ++++ 1 file changed, 4 insertions(+) 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;