You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commy2
changed the title
Script error with CBA_fnc_addPerFrameHandler when used in sheduled.
Script error with CBA_fnc_addPerFrameHandler when used in scheduled.
Jan 9, 2016
Try making the "critical section" execute nonscheduled in both addPerFrameHandler and removePFH.
(There appears to be a CBA_fnc_directCall in CBA common)
While debuging PFHs under extreme conditions I found a problem with the function when used together with the scheduler.
0 spawn {while {true} do {systemChat str ([{[_this select 1] call CBA_fnc_removePerFramehandler}, 0, []] call cba_fnc_addPerFrameHandler)}}
Causes these to pop up randomly:
The reason seems to be the scheduler stoping between these lines:
Causing the OEF event to iterate through
GVAR(PFHhandles)
beforeGVAR(perFrameHandlerArray)
is set.The text was updated successfully, but these errors were encountered: