[Tizen] (Scene3D) Guard cache impl will not be re-created at terminate case 74/304674/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 23 Jan 2024 04:12:59 +0000 (13:12 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 23 Jan 2024 04:19:56 +0000 (13:19 +0900)
commitfe353d5a33d2acd377943f5dedcb06b955fa6269
tree9896db891d98e2ddcf9f8d1e9c4f50af2ba67844
parentadfff8504b74442361e880af652382d2406e9ea6
[Tizen] (Scene3D) Guard cache impl will not be re-created at terminate case

Since LifecycleController could be called first before Model / ModelCache destroy,
re-create the image resource cache at terminate time was possible.

Since we don't check the validation of this item, it will make crash.

So let we ensure that we call those API under same thread with adaptor.

Change-Id: I995c509f070b56f99214689e5a9f3e66514d5f91
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/internal/common/image-resource-loader.cpp