From: Eunki Hong Date: Mon, 18 Dec 2023 07:23:21 +0000 (+0900) Subject: [NUI] Revert dispose synchronously logic when APP is not started X-Git-Tag: submit/tizen/20231218.081853~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=867d9e520b33ba2401cd0e2d1aad6e167b50a5d2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Revert dispose synchronously logic when APP is not started We add some logic to dispose items when application created & disposed before application initialized. But some app just have some issue when some thread dependency items disposed before application started. To avoid this cases, let we block dispose sync logic and revert we always dispose queue ensure in main thread. Signed-off-by: Eunki Hong --- diff --git a/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs b/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs index 6157d69b6..f9672071c 100755 --- a/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs +++ b/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs @@ -107,7 +107,9 @@ namespace Tizen.NUI { // Flush Disposable queue synchronously if it is not initialized yet. // TODO : Need to check thread here if we need. - ProcessDisposables(); + + // 2023-12-18 Block this logic since some APP call some thread-dependency objects before application start. + // ProcessDisposables(); } } @@ -127,7 +129,9 @@ namespace Tizen.NUI { // Flush Disposable queue synchronously if it is not initialized yet. // TODO : Need to check thread here if we need. - ProcessDisposables(); + + // 2023-12-18 Block this logic since some APP call some thread-dependency objects before application start. + // ProcessDisposables(); } }