Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

fix: Close Ping DataChannel when connection ends #382

Merged
merged 1 commit into from
Jul 14, 2021
Merged

Conversation

kylecarbs
Copy link
Member

Previously, Ping() would hang forever due to the DataChannel
never closing when the RTC connection ended.

Previously, Ping() would hang forever due to the DataChannel
never closing when the RTC connection ended.
@kylecarbs kylecarbs requested a review from deansheather July 9, 2021 05:16
@@ -67,7 +69,38 @@ func TestDial(t *testing.T) {
}
})

t.Run("Ping Close", func(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
t.Run("Ping Close", func(t *testing.T) {
t.Run("PingClose", func(t *testing.T) {

@kylecarbs kylecarbs merged commit a8443d0 into master Jul 14, 2021
@kylecarbs kylecarbs deleted the pinghang branch July 14, 2021 02:58
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