From b4e27c612e4c56a31c818836cb436b9d459276c5 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Mon, 30 Oct 2017 20:38:08 +0900 Subject: [PATCH] Fixed OnIceConnectionChange crash bug --- src/peer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peer.cc b/src/peer.cc index 1d92108..2f28759 100644 --- a/src/peer.cc +++ b/src/peer.cc @@ -291,7 +291,7 @@ void PeerControl::OnPeerDisconnected() { // It will be in state pClosing if a user calls Close() manually // - control_->ClosePeer( remote_id_, CLOSE_GOING_AWAY ); + control_->ClosePeer( remote_id_, CLOSE_GOING_AWAY, FORCE_QUEUING_ON ); }