Fixed OnIceConnectionChange crash bug

master
Ryan Lee 2017-10-30 20:38:08 +09:00
parent a94d5b68f5
commit b4e27c612e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}