[NUI] Fix svace issue
authorzhouleonlei <zhouleon.lei@samsung.com>
Tue, 9 Nov 2021 01:21:51 +0000 (09:21 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 9 Nov 2021 05:57:53 +0000 (14:57 +0900)
src/Tizen.NUI/src/internal/Common/BackKeyManager.cs

index b51cf3c..51fa382 100755 (executable)
@@ -94,7 +94,7 @@ namespace Tizen.NUI
             else
             {
                 // If they have same parent, ready to compare!
-                if (parent1 == parent2)
+                if (parent1 == parent2 && comparison1 != null)
                 {
 
                     if (comparison1.GetType().FullName.Contains("Layer"))