core: introduce event_ref_all_triggers function
The new function allows to reference all triggers from an event to prevent them from being deleted. Blessed triggers will be freed only when the whole event subsystem is freed. It will be used for on_shutdown triggers. Part of #9275 NO_CHANGELOG=internal NO_DOC=internal
Loading
Please register or sign in to comment