From d8c5063be424eb6dbadd3f51d638e7ee859c21fa Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Tue, 11 Apr 2023 10:51:21 +0300 Subject: [PATCH] Removed extra Closed?.Invoke() --- src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs index 2e09a38bad..779ffc0341 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs @@ -115,7 +115,6 @@ namespace Avalonia.Win32 _hwnd = IntPtr.Zero; //Remove root reference to this class, so unmanaged delegate can be collected s_instances.Remove(this); - Closed?.Invoke(); _mouseDevice.Dispose(); _touchDevice.Dispose();