Skip to content

fix(signaling): save reference to peer connection before removing it #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 3, 2020

Conversation

CoreyCole
Copy link
Contributor

Before, the peer connection would always be null when we null check it. Now we save a reference to it when it is removed so we can properly call pc.close()

Before, the peer connection would always be null when we null check it. Now we save a reference to it when it is removed so we can properly call `pc.close()`
@cloudwebrtc
Copy link
Member

LGTM

@cloudwebrtc cloudwebrtc merged commit 4849ba5 into flutter-webrtc:master Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants