History

fix more warnings

HifiExperiments committed 2 years ago

Commit f0da3091 parent c8572288 files · +56 −44Browse files

Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 8 files). Show all

Unified · Split

libraries/script-engine/src/ScriptManager.cpp+2−2
@@ -478,10 +478,10 @@ void ScriptManager::waitTillDoneRunning(bool shutdown) { · 477 unmodified lines
478 }478 }
479 }479 }
480#else480#else
481 auto startedWaiting = usecTimestampNow();481 //auto startedWaiting = usecTimestampNow();
482 while (!_isDoneRunning) {482 while (!_isDoneRunning) {
483 // If the final evaluation takes too long, then tell the script engine to stop running483 // If the final evaluation takes too long, then tell the script engine to stop running
484 auto elapsedUsecs = usecTimestampNow() - startedWaiting;484 //auto elapsedUsecs = usecTimestampNow() - startedWaiting;
485 // TODO: This part was very unsafe and was causing crashes all the time.485 // TODO: This part was very unsafe and was causing crashes all the time.
486 // I disabled it for now until we find a safer solution.486 // I disabled it for now until we find a safer solution.
487 // With it disabled now we get clean shutdowns and restarts.487 // With it disabled now we get clean shutdowns and restarts.