[Tizen] Do not observe when Reload 92/293392/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 25 May 2023 09:51:20 +0000 (18:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 16 Feb 2024 11:01:44 +0000 (20:01 +0900)
commit6e69e641bce1552e4e999312f1ca37a56676ccab
tree760af7f4792141ff95e7b304571eaba2901874b9
parentd1c389df4981af486f2c9a339cd54de484c87243
[Tizen] Do not observe when Reload

Previously, we add same observer multiple times when image is loading state
and user do Reload action multiple times.

In that case, there might be problem if visual destroyed.

TODO : We should consider when we call Reload during ResourceReady()
TODO : We should consider when reload visual has mask texture id

Change-Id: Iab8b193281649783b80a6e9fb89e86c625b4388a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-Control.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.cpp
dali-toolkit/internal/texture-manager/texture-manager-impl.h