Make AsyncTask destructor called out of mutex 31/300231/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 19 Oct 2023 04:31:21 +0000 (13:31 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 19 Oct 2023 06:33:24 +0000 (15:33 +0900)
commitbb655ef41abbc21bfa982cf12dc94e8ff4d580b1
treefbb5e0806d1d66c548e9e3e3038e27ecb97b3565
parentb5fb1f3b28e39d1c7d79b55dfabfeac0d39e17db
Make AsyncTask destructor called out of mutex

Some unhappy case may happened when destructor of AsyncTask call
RemoveTask() API if it is canceled before.

It may occure some dead-lock issue. So we need to avoid this case.

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