(Scene3D) Guard cache impl will not be re-created at terminate case 73/304673/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:12:59 +0000 (13:12 +0900)
commitfa16a5b6dc5316ef89ba62a60e26d871c03e1bf4
tree1436fee3ed9d742fe4957bc55c12ff5e44a3228a
parentccd0ca0bf5240d66166d8ac977fb1a6cb1ce63b4
(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