Do not observe when Reload 86/293386/8
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 25 May 2023 09:51:20 +0000 (18:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 31 May 2023 04:10:13 +0000 (13:10 +0900)
commita496a490042ed29ce607661474d00bd0bc9b2e3b
tree5b7d22178f43271891899ef0ede0732e6f5a8fbb
parente0f009740dce868d2fea94553eaab7cb2303c4b5
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