From f029ba3730ac3514e39ca107df9e40ec2d070798 Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Mon, 18 Dec 2023 16:23:21 +0900 Subject: [PATCH] [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 --- src/Tizen.NUI/src/internal/Common/DisposeQueue.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs b/src/Tizen.NUI/src/internal/Common/DisposeQueue.cs index 6157d69..f967207 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(); } } -- 2.7.4