impr: Reduce CPU usage further

This commit is contained in:
WerWolv 2025-02-25 21:50:04 +01:00
parent 1deb27a6df
commit 22b3daf082
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ namespace hex {
{
std::unique_lock lock(m_sleepMutex);
m_sleepCondVar.wait_for(lock, std::chrono::microseconds(100));
m_sleepCondVar.wait(lock);
if (m_sleepFlag.exchange(false))
break;
}