mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] stop threads when DestroyIceTransmission() called
This commit is contained in:
@@ -956,6 +956,7 @@ void PeerConnection::ProcessIceWorkMsg(const IceWorkMsg &msg) {
|
||||
}
|
||||
case IceWorkMsg::Type::Destroy: {
|
||||
for (auto &user_id_it : ice_transmission_list_) {
|
||||
LOG_ERROR("Destroy transmission");
|
||||
user_id_it.second->DestroyIceTransmission();
|
||||
}
|
||||
ice_transmission_list_.clear();
|
||||
|
||||
Reference in New Issue
Block a user