Page MenuHomePhabricator

test_efl_anim_interpolator: delete animation event callback on window delete

Authored by devilhorns on Jan 16 2019, 7:21 AM.



elementary_test Efl.Animation.Interpolator test performs Invalid
memory access if the window is closed during the animation. This can
lead to elm_test crashing after the main window is closed.

In order to avoid this invalid memory access, when the window gets
deleted we can delete the efl_event_callback so that the event does
not fire while the window is being deleted.

ref T7392
Depends on D7643

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
devilhorns created this revision.Jan 16 2019, 7:21 AM
devilhorns requested review of this revision.Jan 16 2019, 7:21 AM
ManMower accepted this revision.Jan 16 2019, 9:11 AM

Looks like it should do the trick.

This revision is now accepted and ready to land.Jan 16 2019, 9:11 AM
This revision was automatically updated to reflect the committed changes.