Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-03-22 01:26:29 +00:00
commit bf064b3af9

View File

@ -572,6 +572,10 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
this.log.info('app reinitializing');
// trigger the stop events to make sure old instances are cleaned up
await this.emitAsync('beforeStop');
await this.emitAsync('afterStop');
if (this.cacheManager) {
await this.cacheManager.close();
}