History

Amend comment that was not a busy wait

Zach Pomerantz committed 10 years ago

Commit 7db082b1 parent 173d2a51 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−1
@@ -725,7 +725,7 @@ void ScriptEngine::run() { · 724 unmodified lines
725725
726726 qint64 lastUpdate = usecTimestampNow();
727727
728− // TODO: Integrate this with signals/slots instead of this busy wait
728+ // TODO: Integrate this with signals/slots instead of reimplementing throttling for ScriptEngine
729729 while (!_isFinished) {
730730 // Throttle to SCRIPT_FPS
731731 const std::chrono::microseconds FRAME_DURATION(USECS_PER_SECOND / SCRIPT_FPS + 1);