We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d0a4a9 + 3f7ccc0 commit 44ef751Copy full SHA for 44ef751
emmy_debugger/src/debugger/emmy_debugger.cpp
@@ -660,7 +660,7 @@ void Debugger::EnterDebugMode() {
660
std::unique_lock<std::mutex> lockEval(evalMtx);
661
if (evalQueue.empty() && blocking) {
662
lockEval.unlock();
663
- cvRun.wait(lock);
+ cvRun.wait(lock, [this] { return !blocking || !evalQueue.empty(); });
664
lockEval.lock();
665
}
666
if (!evalQueue.empty()) {
0 commit comments