View Single Post
07/20/22, 12:34 AM   #12
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
I think I understood the problem in that precise case:
A function called with EVENT_MANAGER:RegisterForUpdate was calling another function with EVENT_MANAGER:RegisterForUpdate so this made a loop inside the loop, calling the 2nd function with zo_callLater avoids the unnecessary loop.

I don't know if it is possible but can EVENT_MANAGER:RegisterForUpdate return something like a warning in case the timer of a function with the same identifier is repeatedly reset and never really triggers?
  Reply With Quote