|author||Jean-Philippe Andre <firstname.lastname@example.org>||2017-12-19 11:14:37 +0900|
|committer||Jean-Philippe Andre <email@example.com>||2017-12-19 11:14:37 +0900|
efl: Reset ecore event types on init
This fixes cycles of init/shutdown/init where ecore event types would become invalid, since they are now stored in a dynamic array rather than a statically stored array. The risk here is that if a module of EFL tends to init/shutdown in a "normal" scenario then the event type array will grow in a leaking manner. This could be fixed by resetting those event ID's only when the loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using EFL_EVENT_DEL in this patch as this would add too many event callbacks to the main loop object, which may result in slightly slower event calls to it, affecting the overall performance.
Diffstat (limited to 'COMPLIANCE')
0 files changed, 0 insertions, 0 deletions