Skip to content

Commit

Permalink
Fix the compat LayoutRenderer (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiejava committed Aug 11, 2021
1 parent 2bbc62b commit cad302f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected override void Dispose(bool disposing)
_layoutUpdatedRegistered = false;
}

if (Forms.UseSkiaSharp)
if (Forms.UseSkiaSharp && Control != null)
{
Control.LayoutUpdated -= OnBackgroundLayoutUpdated;

Expand Down

0 comments on commit cad302f

Please sign in to comment.