[NUI] Unparent view when Dispose() is called explicitly (#3392)
authorJiyun Yang <ji.yang@samsung.com>
Mon, 9 Aug 2021 03:20:00 +0000 (12:20 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 10 Aug 2021 09:08:13 +0000 (18:08 +0900)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs

index 408f779..26ccf54 100755 (executable)
@@ -1230,6 +1230,8 @@ namespace Tizen.NUI.BaseComponents
                     heightConstraint.Remove();
                     heightConstraint.Dispose();
                 }
+
+                Unparent();
             }
 
             //Release your own unmanaged resources here.