[Tizen] Ensure to check whether task need to callback or not 62/303462/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 28 Dec 2023 04:37:15 +0000 (13:37 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 28 Dec 2023 05:26:00 +0000 (14:26 +0900)
commit2c9782784d66686b81d708d98851fe24ae72890a
tree053e341380e7c7f387e5de6b0a1ed1b6450fce8f
parent7374cfcd389816802d4d0f5b3261ddcdb1e4a33e
[Tizen] Ensure to check whether task need to callback or not

There was short-term to unlock the mRunningTasksMutex.
If main thread Remove the running task (mean, cancel) during
that mutex unlocked, we just keep know that
this task need to execute callback.

So, we need to check for notify or not only for lottie cases,
and check main thread callback required one more time for main thread cases.

Change-Id: I8e6bdcdf4b8bf290a23b5b8e3fdb1821db26d393
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/system/common/async-task-manager-impl.cpp