We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa6008 commit cbff1b8Copy full SHA for cbff1b8
index.js
@@ -388,7 +388,7 @@ class Hypercore extends EventEmitter {
388
}
389
for (const ext of gc) ext.destroy()
390
391
- if (this.core !== null) {
+ if (this.core.replicator !== null) {
392
this.core.replicator.findingPeers -= this._findingPeers
393
this.core.replicator.clearRequests(this.activeRequests, error)
394
this.core.replicator.updateActivity(this._active ? -1 : 0)
0 commit comments