History

quit the ScriptEngine thread once the script is done

Stephen Birarda committed 11 years ago

Commit 7a13c861 parent eaeaa232 files · +6 −9Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+0−6
@@ -720,12 +720,6 @@ void ScriptEngine::run() { · 719 unmodified lines
720720 }
721721 }
722722
723− // If we were on a thread, then wait till it's done
724− // Unless we're an assignment-client, in which case that's handled for us
725− if (thread() && !_isAgent) {
726− thread()->quit();
727− }
728−
729723 emit finished(_fileNameString);
730724
731725 _isRunning = false;