-
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.
* Always close `Association` on `writeLoop` exit The connection will now always be closed on `writeLoop` exit because it will ensure that `readLoop` exits, which is needed to propagate the closing of `Stream`s. * Guard against creating `Stream`s after `Association` close It was possible for new `Stream`s to be created after `readLoop` has exited and called `unregisterStream` on the existing ones. The new `Stream`s would never close. This also guards against a potential panic due to send on nil channel (`acceptCh`). This may fix pion/webrtc#2098.
- Loading branch information
Showing
2 changed files
with
90 additions
and
11 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