Skip to content

Commit ba62a25

Browse files
myrootrookiejava
authored andcommitted
Fix Layout remove issue (#164)
* Fix Layout remove issue * Fix layout remove on Dispose
1 parent 1ab9f43 commit ba62a25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Core/src/Handlers/View/ViewHandlerOfT.Tizen.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ protected virtual void Dispose(bool disposing)
177177
{
178178
if (disposing)
179179
{
180+
var nativeView = base.NativeView;
180181
(this as IElementHandler)?.DisconnectHandler();
181-
base.NativeView?.Unrealize();
182+
nativeView?.Unrealize();
182183
ContainerView?.Unrealize();
183184
}
184185

0 commit comments

Comments
 (0)