Remove unique_lock unlock to prevent double unlocking.
Change-Id: I3a692321b8b10e2fc477075e204e3dfaadf2d9f4
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
std::unique_lock<std::mutex> lock(gMutex);
gPreCacheThreadReady = true;
gPreCacheCond.notify_one();
- lock.unlock();
}
FONT_LOG_MESSAGE(Dali::Integration::Log::INFO, "BEGIN: DALI_TEXT_PRECACHE_RUN\n");
std::unique_lock<std::mutex> lock(gMutex);
gPreLoadThreadReady = true;
gPreLoadCond.notify_one();
- lock.unlock();
}
FONT_LOG_MESSAGE(Dali::Integration::Log::INFO, "BEGIN: DALI_TEXT_FONT_PRELOAD_RUN\n");