diff --git a/src/Shared/PlatformSupport/StandardRuntimePlatform.cs b/src/Shared/PlatformSupport/StandardRuntimePlatform.cs index 2e79762408..8521a50087 100644 --- a/src/Shared/PlatformSupport/StandardRuntimePlatform.cs +++ b/src/Shared/PlatformSupport/StandardRuntimePlatform.cs @@ -60,7 +60,7 @@ namespace Avalonia.Shared.PlatformSupport } catch { - GC.SuppressFinalize(); + GC.SuppressFinalize(this); throw; } #if DEBUG