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 Jan 17, 2022
1 parent a193b6a commit bd7c47d
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 bd7c47d

Please sign in to comment.