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 Nov 22, 2021
1 parent b951292 commit 950ac3c
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 950ac3c

Please sign in to comment.