mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-30 10:06:40 +00:00
Merge branch 'fix_7039' into 'master'
Fix #7039: freeze after throwing an error in a queued Lua callback Closes #7039 See merge request OpenMW/openmw!2469
This commit is contained in:
commit
8108fa0724
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ namespace MWLua
|
|||
|
||||
// Run queued callbacks
|
||||
for (CallbackWithData& c : mQueuedCallbacks)
|
||||
c.mCallback.call(c.mArg);
|
||||
c.mCallback.tryCall(c.mArg);
|
||||
mQueuedCallbacks.clear();
|
||||
|
||||
// Engine handlers in local scripts
|
||||
|
|
Loading…
Reference in a new issue