Commit 207627be authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

video sink: fix data race

possible data race fixed in dtor of ShmHolder.

Coverity CID # 1296815

Change-Id: I85c8158ec8fd8ada8feb28720350f2237a1097f3
Tuleap: #909
parent ed409b3a
......@@ -157,8 +157,11 @@ ShmHolder::~ShmHolder()
if (area_ == MAP_FAILED)
area_->frameSize = 0;
::sem_post(&area_->frameGenMutex); // unlock waiting client before leaving
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