View Single Post
05/12/14, 12:31 PM   #55
Aiiane
 
Aiiane's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 19
In addition, due to the way it is implemented, if the callback supplied to zo_callLater contains an error which causes it to not successfully finish running (e.g. a restricted function call, a nil that is expected to be non-nil, etc), the callback will continue to fire for each subsequent frame, because the call to EVENT_MANAGER:UnregisterForUpdate is done after the callback is fired, so if the Lua callstack bombs out, the unregistration never happens.
  Reply With Quote