Skip to content
Snippets Groups Projects
Commit 27293c26 authored by DarkGod's avatar DarkGod
Browse files

sanity check in case the loop over iterCallbacks removes the callbacks

parent f31ed5ef
No related branches found
No related tags found
1 merge request!248More fixes
......@@ -4923,6 +4923,7 @@ function _M:iterCallbacks(event)
if self[store] and next(self[store].__priorities) then
local iter = 1
return function()
if not self[store] or not self[store].__sorted then return end
local info = self[store].__sorted[iter]
if not info then return end
iter = iter + 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment