fix: 4.1.1

This commit is contained in:
手瓜一十雪 2024-11-16 19:25:54 +08:00
parent 8223c98bf1
commit 7eb6454a31

View File

@ -70,7 +70,7 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
}
private async tryConnect() {
if (!this.connection && this.isEnable) {
if (!this.connection && !this.isEnable) {
let isClosedByError = false;
this.connection = new WebSocket(this.config.url, {