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
720 }720 }
721 }721 }
722 722
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
729 emit finished(_fileNameString);723 emit finished(_fileNameString);
730 724
731 _isRunning = false;725 _isRunning = false;