Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

fix(connection): tracks streams properly #25

Merged
merged 1 commit into from
Feb 4, 2020
Merged

Conversation

jacobheun
Copy link
Contributor

connection.addStream was not being properly called internally. This would cause stream protocols to not be tracked properly. This also adds a test to the interface to ensure connection implementations are properly removing streams from tracking when stream.close() is called.

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! LGTM!

@jacobheun jacobheun merged commit 5c88d77 into master Feb 4, 2020
@jacobheun jacobheun deleted the fix/connection branch February 4, 2020 16:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants