If all connections on a port is destroyed, it will schedule an event to check if it is dead after a timeout. Previously if a new connection is created but destroyed before the event is fired, it will destroy the port. With this change, we will not destoy it until it times out again after the last created connection is destroyed. BUG= R=pthatcher@webrtc.org, zhihuang@webrtc.org Review URL: https://codereview.webrtc.org/2184013003 . Cr-Commit-Position: refs/heads/master@{#13563}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.