Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Stop the endpoint synchronously in RTCPeerConnection::close
https://bugs.webkit.org/show_bug.cgi?id=194688 Reviewed by Eric Carlson. In the case where the peer connection is being closed, it was asynchronously stopping the endpoint. But the endpoint, before being stopped, could try to fire an event. If the context is gone in between, we end up with a null pointer dereference. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::close): Canonical link: https://commits.webkit.org/209090@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information