forked from libp2p/rust-yamux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: garbage collect
Stream
when dropped (libp2p#167)
This fixes issue libp2p#166 where a `Stream` would never be removed until its connection is closed, given that the `Connection` holds a copy of the stream `Sender`. Co-authored-by: Max Inden <mail@max-inden.de> Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
- Loading branch information
1 parent
e7c17ff
commit dcff3d5
Showing
4 changed files
with
99 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters