Skip to content

Commit

Permalink
fix missing resume
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Nov 27, 2023
1 parent 2a14d5d commit fedafd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ module.exports = class Hyperswarm extends EventEmitter {
if (!this.suspended) return

await this.dht.resume()
await this.server.resume()

for (const discovery of this._discovery.values()) {
discovery.resume()
Expand Down

0 comments on commit fedafd6

Please sign in to comment.