elm_gesture_layer: Arrange the logic for delete the target object in gesture cb.
authorWoochanlee <wc0917.lee@samsung.com>
Tue, 26 May 2020 06:36:54 +0000 (06:36 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 2 Jun 2020 22:06:40 +0000 (07:06 +0900)
commita24d9caac827638f61be307a4f982439dc599d4c
tree7fb12217481f6c6281076353f913f1bedd227ba8
parented01bed46c2b7ebaf0d7c2eed2b8304219cd70b0
elm_gesture_layer: Arrange the logic for delete the target object in gesture cb.

When the user receives the callback of gesture callback, erases the target object, the gesture layer is deleted.

The memory is may broken and performing unnecessary operations during the logic.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11838
src/lib/elementary/elm_gesture_layer.c