Compare commits
No commits in common. "6a843447b1d2964fa3acb8dd90723a6c6807a658" and "21fb7954887d2ccb8f55e60425da8d836311a1f8" have entirely different histories.
6a843447b1
...
21fb795488
|
@ -53,7 +53,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
||||||
this._activeRelay.on("close", () => {
|
this._activeRelay.on("close", () => {
|
||||||
this._activeRelay = undefined;
|
this._activeRelay = undefined;
|
||||||
});
|
});
|
||||||
} while (relays.length > 0 && !this._activeRelay);
|
} while (relays.length > 0);
|
||||||
if (!this._activeRelay) {
|
if (!this._activeRelay) {
|
||||||
throw new Error("Failed to find an available relay");
|
throw new Error("Failed to find an available relay");
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
||||||
this._activeRelay.on("close", () => {
|
this._activeRelay.on("close", () => {
|
||||||
this._activeRelay = undefined;
|
this._activeRelay = undefined;
|
||||||
});
|
});
|
||||||
} while (relays.length > 0 && !this._activeRelay);
|
} while (relays.length > 0);
|
||||||
|
|
||||||
if (!this._activeRelay) {
|
if (!this._activeRelay) {
|
||||||
throw new Error("Failed to find an available relay");
|
throw new Error("Failed to find an available relay");
|
||||||
|
|
Loading…
Reference in New Issue