Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 3 files). Show all
Unified · Split
| @@ -721,7 +721,8 @@ void ScriptEngine::run() { · 720 unmodified lines | ||
| 721 | 721 | } |
| 722 | 722 | |
| 723 | 723 | // If we were on a thread, then wait till it's done |
| 724 | − if (thread()) { | |
| 724 | + // Unless we're an assignment-client, in which case that's handled for us | |
| 725 | + if (thread() && !_isAgent) { | |
| 725 | 726 | thread()->quit(); |
| 726 | 727 | } |
| 727 | 728 | |