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
478478 }
479479 }
480480 #else
481− auto startedWaiting = usecTimestampNow();
481+ //auto startedWaiting = usecTimestampNow();
482482 while (!_isDoneRunning) {
483483 // 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;
485485 // TODO: This part was very unsafe and was causing crashes all the time.
486486 // I disabled it for now until we find a safer solution.
487487 // With it disabled now we get clean shutdowns and restarts.