mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
peer_connection: avoid crash on shutdown
Change-Id: I3bf4bc4d06202f9c61208be55c78c7b44be52ba3
This commit is contained in:

committed by
Adrien Béraud

parent
c116a7b436
commit
d0f8effd2c
@ -234,6 +234,7 @@ public:
|
||||
|
||||
~Impl()
|
||||
{
|
||||
ep_->underlyingICE()->setOnShutdown({});
|
||||
{
|
||||
std::lock_guard<std::mutex> lk(cbMtx_);
|
||||
onStateChangeCb_ = {};
|
||||
|
Reference in New Issue
Block a user