Commit de0969ad authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud

socketpair: interrupt waitForRTCP when closing SocketPair

Gitlab: #132
Change-Id: I138813de976c14321d59c9d423c1467b7f0fba5f
parent 83bf28a5
...@@ -264,6 +264,7 @@ SocketPair::interrupt() ...@@ -264,6 +264,7 @@ SocketPair::interrupt()
if (rtp_sock_) rtp_sock_->setOnRecv(nullptr); if (rtp_sock_) rtp_sock_->setOnRecv(nullptr);
if (rtcp_sock_) rtcp_sock_->setOnRecv(nullptr); if (rtcp_sock_) rtcp_sock_->setOnRecv(nullptr);
cv_.notify_all(); cv_.notify_all();
} }
void void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment