Skip to content
Snippets Groups Projects
Commit d0f8effd authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

peer_connection: avoid crash on shutdown

Change-Id: I3bf4bc4d06202f9c61208be55c78c7b44be52ba3
parent c116a7b4
Branches
Tags
No related merge requests found
......@@ -234,6 +234,7 @@ public:
~Impl()
{
ep_->underlyingICE()->setOnShutdown({});
{
std::lock_guard<std::mutex> lk(cbMtx_);
onStateChangeCb_ = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment