Compare commits
No commits in common. "8427cbdff6e4003adc2e9f4347189d4114a20589" and "411582ef056475a0b3d3aa451cc069a06f300f28" have entirely different histories.
8427cbdff6
...
411582ef05
|
@ -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.dht._protocol._stream.once("close", () => {
|
this._activeRelay.on("close", () => {
|
||||||
this._activeRelay = undefined;
|
this._activeRelay = undefined;
|
||||||
this._ready = false;
|
this._ready = false;
|
||||||
});
|
});
|
||||||
|
|
|
@ -193,7 +193,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
||||||
keyPair: this._options.keyPair,
|
keyPair: this._options.keyPair,
|
||||||
});
|
});
|
||||||
|
|
||||||
this._activeRelay.dht._protocol._stream.once("close", () => {
|
this._activeRelay.on("close", () => {
|
||||||
this._activeRelay = undefined;
|
this._activeRelay = undefined;
|
||||||
this._ready = false;
|
this._ready = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue