evas: protect against leaking callbacks
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 2 Jan 2020 14:35:31 +0000 (09:35 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 5 Jan 2020 21:54:53 +0000 (06:54 +0900)
commita1c2bac472b783e23114cb82cc642f98407d8b53
tree320e1c05e5e359be95c50d2837882779654ff835
parent8e33b3ea747133ee6ce8a6711df122a5c5152545
evas: protect against leaking callbacks

Summary:
when someone accidently does not clean up all his animation callbacks,
we might end up with a lot of errors on console, as we keep delivering
tick events to a dead object.

Reviewers: zmike, cedric, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10998
src/lib/evas/canvas/evas_callbacks.c
src/lib/evas/canvas/evas_object_main.c
src/lib/evas/include/evas_private.h