[Tizen] Avoid self-destruct during AnimatedImageVisual resource ready 33/314133/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 2 Jul 2024 10:59:07 +0000 (19:59 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 5 Jul 2024 08:43:19 +0000 (17:43 +0900)
commitb4cee269b9a1b04bbcacaf627bdc245615aea4e0
treedab00ee9885dd4252bcbbff820db65adda72e51b
parenta2e1acddad383872acce39c915b625f9f8ee7786
[Tizen] Avoid self-destruct during AnimatedImageVisual resource ready

Since AnimatedImageVisual's resource ready is not safe enough
for self-destruction case, we'd better use DiscardVisual
for every visual cases.

Change-Id: If316663699276696bfd0695b85ac53f1cbd2b8f2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/controls/control/control-data-impl.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.cpp
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp