[NUI] Make DaliAccessibilityDetachAccessibleObject called at main thread
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 30 Oct 2023 04:49:51 +0000 (13:49 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 2 Nov 2023 08:07:53 +0000 (17:07 +0900)
commit4436f806feecdd6ca1812173526559b49896a93c
tree6e8d8f6d442814465ba746922a8228c0bfad0033
parent5346d34afa579c0556c7c99275b35ffe51babe09
[NUI] Make DaliAccessibilityDetachAccessibleObject called at main thread

void Dispose(bool) can be called from worker thread, when disposing value is false.

To ensure we detach AccessibileObject in main thread, let we remove it
at Dispose(DisposeTypes), instead of Dispose(bool).

To avoid this kind of error in future, let we remove View.Dispose(bool)
and let we only use Dispose(DisposeTypes).

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs