Merge pull request #6513 from huffman/fix-script-race-condition

Fix ScriptEngine setting _isFinished when it shouldn't, causing scripts to accumulate when restarting
This commit is contained in:
Brad Hefta-Gaub 2015-12-03 17:17:42 -08:00
commit 46556b7fa5

View file

@ -674,7 +674,6 @@ void ScriptEngine::run() {
}
_isRunning = true;
_isFinished = false;
if (_wantSignals) {
emit runningStateChanged();
}