Commit 7c397eef authored by Ghislain MARY's avatar Ghislain MARY

Fix wifi, multicast and cpu locks being acquired instead of being released.

parent 573e8468
...@@ -130,9 +130,9 @@ void CallSessionPrivate::setState (CallSession::State newState, const string &me ...@@ -130,9 +130,9 @@ void CallSessionPrivate::setState (CallSession::State newState, const string &me
log->connected_date_time = ms_time(nullptr); log->connected_date_time = ms_time(nullptr);
break; break;
case CallSession::State::Released: case CallSession::State::Released:
getPlatformHelpers(q->getCore()->getCCore())->acquireWifiLock(); getPlatformHelpers(q->getCore()->getCCore())->releaseWifiLock();
getPlatformHelpers(q->getCore()->getCCore())->acquireMcastLock(); getPlatformHelpers(q->getCore()->getCCore())->releaseMcastLock();
getPlatformHelpers(q->getCore()->getCCore())->acquireCpuLock(); getPlatformHelpers(q->getCore()->getCCore())->releaseCpuLock();
break; break;
default: default:
break; break;
......
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