diff --git a/src/Avalonia.Native/WindowImplBase.cs b/src/Avalonia.Native/WindowImplBase.cs index 29f6547c9f0..9cacc253335 100644 --- a/src/Avalonia.Native/WindowImplBase.cs +++ b/src/Avalonia.Native/WindowImplBase.cs @@ -78,8 +78,7 @@ public override void SetFrameThemeVariant(PlatformThemeVariant themeVariant) public override void Dispose() { Native?.Close(); - Native?.Dispose(); - _handle = null; + base.Dispose(); } public virtual void Show(bool activate, bool isDialog)