mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +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;
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue