mirror of
https://github.com/docmost/docmost.git
synced 2025-11-16 04:01:11 +10:00
cleanups
This commit is contained in:
@ -38,9 +38,9 @@ export class CollaborationModule implements OnModuleInit, OnModuleDestroy {
|
||||
});
|
||||
}
|
||||
|
||||
onModuleDestroy(): any {
|
||||
async onModuleDestroy(): Promise<void> {
|
||||
if (this.collaborationGateway) {
|
||||
this.collaborationGateway.destroy();
|
||||
await this.collaborationGateway.destroy();
|
||||
}
|
||||
if (this.collabWsAdapter) {
|
||||
this.collabWsAdapter.destroy();
|
||||
|
||||
Reference in New Issue
Block a user