Fixed OnIceConnectionChange crash bug
parent
a94d5b68f5
commit
b4e27c612e
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue