Skip to content

Commit 85945fa

Browse files
committed
Fix the compat LayoutRenderer (#43)
1 parent b01b289 commit 85945fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected override void Dispose(bool disposing)
6868
_layoutUpdatedRegistered = false;
6969
}
7070

71-
if (Forms.UseSkiaSharp)
71+
if (Forms.UseSkiaSharp && Control != null)
7272
{
7373
Control.LayoutUpdated -= OnBackgroundLayoutUpdated;
7474

0 commit comments

Comments
 (0)