Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 2 files). Show all
Unified · Split
| @@ -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 | 723 | emit finished(_fileNameString); |
| 730 | 724 | |
| 731 | 725 | _isRunning = false; |