Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DCHECK in the chromoting host when disconnecting a WebRTC connect…
…ion. WebRTC creates threads internally. Thread::Stop() is a blocking operation, so it's not allowed on the network thread. To work around this problem WebrtcTransport::PeerConnectionWrapper uses ScopedAllowIO when closing PeerConnection. But it's not longer enough - some threads are stopped later when the factory is destroyed. Updated PeerConnectionWrapper destructor to destroy the PeerConnectionFactory with ScopedAllowIO. BUG=714699 Review-Url: https://codereview.chromium.org/2847803003 Cr-Commit-Position: refs/heads/master@{#467838}
- Loading branch information