Chromium Code Reviews
DescriptionThis cl was originally reviewed in https://codereview.chromium.org/1438153002/. Patchset 1 is a pure re-upload.
Pachset 2 fix a bug in the original cl and adds a unit test.
Fix leak of RTCPeerConnectionHandler if PeerConnection.close() is called from js.
This fixes a bug where RTCPeerConnectionHandler::client_ is set to null when RTCPeerConnectionHandler.stop() is called.
RTCPeerConnectionHandler.stop() is a pretty bad name (override from blink::WebRTCPeerConnectionHandler) since it is triggered when JS or the browser process want to close a PeerConnection.
Since client_ was set to null, RTCPeerConnectionHandler::DestructAllHandlers did not delete RTCPeerConnectionHandler.
BUG=542132
Committed: https://crrev.com/93f225811f0767054c81f0368ac31b5a8448aeee
Cr-Commit-Position: refs/heads/master@{#359784}
Patch Set 1 #Patch Set 2 : Fix bug and add expectation. #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||