Let ModelCache use std::map instead of unordered_map 38/292938/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 17 May 2023 08:14:38 +0000 (17:14 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Thu, 18 May 2023 23:56:50 +0000 (23:56 +0000)
commit0842ffe67a82227a7d9c6375abdeddd2662cbc2b
tree76f0c3ed4cb0087d956b1be99407590d201017c2
parentc1294f3111ae2eb199dca0374fd09171a6782735
Let ModelCache use std::map instead of unordered_map

If mModelCache become rehashed during some model-load-task lock the process,
It might make some crash.

To keep the validation of ModelCacheManager::ModelCache data, let we use
the cache container as std::map, instead of std::unordered_map

Change-Id: Ied52a7cd8fcf805eb18d5563df1da821f4d3c655
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/internal/common/model-cache-manager.cpp