History

Fix ScriptEngine crash

Atlante45 committed 11 years ago

Commit 7695afe1 parent 17072541 file · +2 −3Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+2−3
@@ -685,9 +685,8 @@ void ScriptEngine::run() { · 684 unmodified lines
685 }685 }
686 lastUpdate = now;686 lastUpdate = now;
687 687
688 if (hadUncauchtExceptions(*this, _fileNameString)) {688 // Debug and clear exceptions
689 stop();689 hadUncauchtExceptions(*this, _fileNameString);
690 }
691 }690 }
692 691
693 stopAllTimers(); // make sure all our timers are stopped if the script is ending692 stopAllTimers(); // make sure all our timers are stopped if the script is ending