*Set flag before event emit
This commit is contained in:
parent
8959c644e3
commit
b47502ac9d
|
@ -356,8 +356,9 @@ export default class DHTCache extends EventEmitter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emit("bootstrapped");
|
|
||||||
this.bootstrapped = true;
|
this.bootstrapped = true;
|
||||||
|
this.emit("bootstrapped");
|
||||||
|
|
||||||
this._recalculate();
|
this._recalculate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue