libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.27k stars 435 forks source link

fix: do not run webrtc cleanup on transport close #2498

Closed achingbrain closed 3 months ago

achingbrain commented 3 months ago

The cleanup function from node-datachannel closes all open peer connections/datachannels - if there are multiple transports/nodes in the same process they will all be closed.

Fixes #2425

Change checklist