(Vector) Erase all EventThreadCallbacks with same pointer 09/302409/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 6 Dec 2023 08:00:55 +0000 (17:00 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 6 Dec 2023 08:12:02 +0000 (17:12 +0900)
commit9fd751cb2c76d885c8e44a1a8245b2837ab2584d
treee1ce166080cf59bdeba9da8955a05d3595fc488c
parent71dfd4a5d1b71642c710e9d28da074910ede1f89
(Vector) Erase all EventThreadCallbacks with same pointer

Due to some logical issue, there might be happend that we apply multiple
EventThread callback into VectorAnimationThread.

And if VectorAnimationTask destructor called, we remove only single callback.

If error case occured, EventThread can execute dead callback.

Change-Id: I9e3895180916a292bbca838997ae3053ee8799b5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-task.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-thread.cpp
dali-toolkit/internal/visuals/animated-vector-image/vector-animation-thread.h