*Update dist
This commit is contained in:
parent
e8a44315a8
commit
8427cbdff6
|
@ -131,7 +131,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
||||||
dht: new DhtNode(new Stream(true, new WebSocket(connection)), this._options),
|
dht: new DhtNode(new Stream(true, new WebSocket(connection)), this._options),
|
||||||
keyPair: this._options.keyPair,
|
keyPair: this._options.keyPair,
|
||||||
});
|
});
|
||||||
this._activeRelay.on("close", () => {
|
this._activeRelay.dht._protocol._stream.once("close", () => {
|
||||||
this._activeRelay = undefined;
|
this._activeRelay = undefined;
|
||||||
this._ready = false;
|
this._ready = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue