We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733b870 commit da60ccdCopy full SHA for da60ccd
1 file changed
src/extension/ChronoController.cpp
@@ -166,10 +166,7 @@ namespace extension {
166
167
if (clock::rtf() == 0.0) {
168
// If we are paused then just wait until we are unpaused
169
- wait.wait(lock, [this, &start] {
170
- return !running.load(std::memory_order_acquire) || clock::rtf() != 0.0
171
- || NUClear::clock::now() != start;
172
- });
+ wait.wait(lock);
173
}
174
else if (time_until_task > cv_accuracy) { // A long time in the future
175
// Wait on the cv
0 commit comments