mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix crash due to codec init failed
This commit is contained in:
@@ -43,6 +43,7 @@ void DestroyPeer(PeerPtr *peer_ptr) {
|
||||
peer_ptr->peer_connection->Destroy();
|
||||
delete peer_ptr;
|
||||
peer_ptr = nullptr;
|
||||
LOG_INFO("Destroy peer");
|
||||
}
|
||||
|
||||
int Init(PeerPtr *peer_ptr, const char *user_id) {
|
||||
|
||||
Reference in New Issue
Block a user