Skip to content

Commit

Permalink
Fix Layout remove issue (#164)
Browse files Browse the repository at this point in the history
* Fix Layout remove issue

* Fix layout remove on Dispose
  • Loading branch information
myroot authored and rookiejava committed Mar 31, 2022
1 parent 771c409 commit 4f4ab0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Core/src/Handlers/View/ViewHandlerOfT.Tizen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ protected virtual void Dispose(bool disposing)
{
if (disposing)
{
var nativeView = base.NativeView;
(this as IElementHandler)?.DisconnectHandler();
base.NativeView?.Unrealize();
nativeView?.Unrealize();
ContainerView?.Unrealize();
}

Expand Down

0 comments on commit 4f4ab0b

Please sign in to comment.