Fix ScriptEngine crash

This commit is contained in:
Atlante45 2015-10-28 16:42:17 -07:00
parent 170725418b
commit 7695afec0a

View file

@ -685,9 +685,8 @@ void ScriptEngine::run() {
}
lastUpdate = now;
if (hadUncauchtExceptions(*this, _fileNameString)) {
stop();
}
// Debug and clear exceptions
hadUncauchtExceptions(*this, _fileNameString);
}
stopAllTimers(); // make sure all our timers are stopped if the script is ending