fix
This commit is contained in:
1 parent
50079e7a96
commit
f1b2c8b1cf
2 files changed
+12
-6
No files matched your search
@@ -115,7 +115,10 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
|
||||
this.logger.log('[OneBot] [WebSocket Server] Server Started', typeof (addressInfo) === 'string' ? addressInfo : addressInfo?.address + ':' + addressInfo?.port);
|
||||
|
||||
this.isOpen = true;
|
||||
this.registerHeartBeat();
|
||||
if (this.heartbeatInterval > 0) {
|
||||
this.registerHeartBeat();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async close() {
|
||||
|
||||
Reference in new issue
Block a user