Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 3 files). Show all
Unified · Split
| @@ -284,8 +284,7 @@ void ScriptEngine::runInThread() { · 283 unmodified lines | ||
| 284 | 284 | workerThread->start(); |
| 285 | 285 | } |
| 286 | 286 | |
| 287 | −void ScriptEngine::waitTillDoneRunning() { | |
| 288 | − // If the script never started running or finished running before we got here, we don't need to wait for it | |
| 287 | +void ScriptEngine::wait() { | |
| 289 | 288 | auto workerThread = thread(); |
| 290 | 289 | |
| 291 | 290 | if (_isThreaded && workerThread) { |