mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
pass wsAdapter to gateway
This commit is contained in:
@@ -51,8 +51,7 @@ export class CollaborationModule implements OnModuleInit, OnModuleDestroy {
|
||||
}
|
||||
|
||||
async onModuleDestroy(): Promise<void> {
|
||||
this.collabWsAdapter?.close();
|
||||
await this.collaborationGateway?.destroy();
|
||||
await this.collaborationGateway?.destroy(this.collabWsAdapter);
|
||||
this.collabWsAdapter?.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user