Ensure cleared animation not emit finished signal during finished signal emit 21/312021/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 3 Jun 2024 01:51:16 +0000 (10:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 3 Jun 2024 03:13:40 +0000 (12:13 +0900)
commitf69de7e91ec0ee9fe84603a64ae99ee9c1152d4b
tree7f54ab6fc1b9db1a42cc8e1e7ad34dd696eafc03
parent0f128a7ac8811d785118de5bf01780634567d659
Ensure cleared animation not emit finished signal during finished signal emit

Since we collect all finished animations and emit after,
It is possible that finisehd signal emitted what we should not
(e.g. Animation::Clear() called during another animation's finished signal)

To avoid it, let we ensure to check whether given animation is ignored or not.

Change-Id: I681c2c8e0f1624e0846409eb862862e5392ab7ec
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/event/animation/animation-playlist.cpp