chore: 挂载逻辑
This commit is contained in:
1 parent
83dcd948a4
commit
da8453e17d
2 files changed
+19
-5
No files matched your search
@@ -55,7 +55,9 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
|
||||
|
||||
close() {
|
||||
if (this.isClosed) {
|
||||
throw new Error('Cannot close a closed WebSocket connection');
|
||||
this.logger.logDebug('Cannot close a closed WebSocket connection');
|
||||
return;
|
||||
//throw new Error('Cannot close a closed WebSocket connection');
|
||||
}
|
||||
this.isClosed = true;
|
||||
if (this.connection) {
|
||||
|
||||
Reference in new issue
Block a user