isConnected bugfix
This commit is contained in:
@@ -107,7 +107,7 @@ export default class WsProvider extends E3.EventEmitter implements WSProviderInt
|
|||||||
subscription
|
subscription
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this.isConnected && !isNull(this.websocket)) {
|
if (this.isConnected() && !isNull(this.websocket)) {
|
||||||
this.websocket.send(json);
|
this.websocket.send(json);
|
||||||
} else {
|
} else {
|
||||||
this.queued[id] = json;
|
this.queued[id] = json;
|
||||||
|
|||||||
Reference in New Issue
Block a user