From 9e465795110fcc4b8862ff038d9b6efe14e9e65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=97=88=EA=B0=95=ED=98=B8/Common=20Platform=20Lab=28SR?= =?UTF-8?q?=29/Principal=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 5 Jul 2021 13:57:44 +0900 Subject: [PATCH] Fix the compat LayoutRenderer (#43) --- src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs b/src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs index 43fc827f44c1..736cab38a5e4 100644 --- a/src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs +++ b/src/Compatibility/Core/src/Tizen/Renderers/LayoutRenderer.cs @@ -68,7 +68,7 @@ protected override void Dispose(bool disposing) _layoutUpdatedRegistered = false; } - if (Forms.UseSkiaSharp) + if (Forms.UseSkiaSharp && Control != null) { Control.LayoutUpdated -= OnBackgroundLayoutUpdated;