mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 07:25:43 +02:00
Fix ScriptEngine crash
This commit is contained in:
parent
170725418b
commit
7695afec0a
1 changed files with 2 additions and 3 deletions
|
@ -685,9 +685,8 @@ void ScriptEngine::run() {
|
||||||
}
|
}
|
||||||
lastUpdate = now;
|
lastUpdate = now;
|
||||||
|
|
||||||
if (hadUncauchtExceptions(*this, _fileNameString)) {
|
// Debug and clear exceptions
|
||||||
stop();
|
hadUncauchtExceptions(*this, _fileNameString);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stopAllTimers(); // make sure all our timers are stopped if the script is ending
|
stopAllTimers(); // make sure all our timers are stopped if the script is ending
|
||||||
|
|
Loading…
Reference in a new issue