[NUI] Fix SVACE issue.
authorhuayong.xu <huayong.xu@samsung.com>
Fri, 4 Aug 2023 01:57:10 +0000 (09:57 +0800)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 9 Aug 2023 07:58:31 +0000 (16:58 +0900)
src/Tizen.NUI/src/internal/Common/RenderTask.cs

index 0c12607..b4f5095 100755 (executable)
@@ -15,7 +15,9 @@
  *
  */
 using System;
+using System.Collections.Generic;
 using System.ComponentModel;
+using System.Linq;
 using Tizen.NUI.BaseComponents;
 
 namespace Tizen.NUI
@@ -48,7 +50,7 @@ namespace Tizen.NUI
                 return;
             }
 
-            foreach (var window in Application.GetWindowList())
+            foreach (var window in Application.GetWindowList() ?? Enumerable.Empty<Window>())
             {
                 window.GetRenderTaskList().RemoveTask(this);
             }