It's possible for more than one animation to be taking place on a view at the same time. If one of those animations is the shell's fade out for dying surfaces, its completion handler will trigger the surface destroy signal, causing other animations on the animation list to remove themselves. Since this removal occurs during the linked list walk, the compositor may crash. We move the actual surface destruction into an idle handler to avoid this. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>dev
parent
3dd570e754
commit
039e9be49d
Loading…
Reference in new issue