mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
bf064b3af9
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user