[NUI] Add null check in Process (#2859)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Thu, 8 Apr 2021 03:24:01 +0000 (12:24 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 20 Apr 2021 06:13:00 +0000 (15:13 +0900)
add null check

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/internal/Layouting/LayoutController.cs

index 3e89549..52127da 100755 (executable)
@@ -249,7 +249,10 @@ namespace Tizen.NUI
             {
                 layer?.Children?.ForEach(view =>
                 {
-                    FindRootLayouts(view, width, height);
+                    if (view != null)
+                    {
+                        FindRootLayouts(view, width, height);
+                    }
                 });
             });
             windowSize.Dispose();