[NUI] Fix SVACE issue.
authorhuayong.xu <huayong.xu@samsung.com>
Thu, 13 Jul 2023 08:56:57 +0000 (16:56 +0800)
committerbshsqa <32317749+bshsqa@users.noreply.github.com>
Tue, 18 Jul 2023 09:41:32 +0000 (18:41 +0900)
src/Tizen.NUI/src/internal/Application/Application.cs

index 7d56960..e296361 100755 (executable)
@@ -754,9 +754,12 @@ namespace Tizen.NUI
             }
 
             List<Window> windows = GetWindowList();
-            foreach (Window window in windows)
+            if (windows != null)
             {
-                window?.DisconnectNativeSignals();
+                foreach (Window window in windows)
+                {
+                    window?.DisconnectNativeSignals();
+                }
             }
         }