mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-21 13:01:33 +00:00
chore: fix close for ConnectionManager (#861)
This commit is contained in:
@ -160,7 +160,7 @@ class ConnectionManager extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
await tasks
|
||||
await Promise.all(tasks)
|
||||
this.connections.clear()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user