History

Rename ScriptEngine::wait to match std threading

Zach Pomerantz committed 10 years ago

Commit 2cc788f1 parent edf82c53 files · +8 −5Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+1−2
@@ -284,8 +284,7 @@ void ScriptEngine::runInThread() { · 283 unmodified lines
284284 workerThread->start();
285285 }
286286
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() {
289288 auto workerThread = thread();
290289
291290 if (_isThreaded && workerThread) {