diff --git a/ref/DirectoryPackages b/ref/DirectoryPackages index adcb50a3302..139b9ac1782 160000 --- a/ref/DirectoryPackages +++ b/ref/DirectoryPackages @@ -1 +1 @@ -Subproject commit adcb50a3302724464d8b4b1fe0f5ee9f229fb283 +Subproject commit 139b9ac1782d20f7cb81978d7dc428522fe469d8 diff --git a/src/Avalonia.Controls.Internals/Extensions/WindowExtensions.cs b/src/Avalonia.Controls.Internals/Extensions/WindowExtensions.cs index 92d9cf80fa0..f9cd06a81c1 100644 --- a/src/Avalonia.Controls.Internals/Extensions/WindowExtensions.cs +++ b/src/Avalonia.Controls.Internals/Extensions/WindowExtensions.cs @@ -4,7 +4,7 @@ namespace Avalonia.Controls; public static class AvaloniaControlsInternalsWindowExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static void CloseCore_(this Window window, WindowCloseReason reason, bool isProgrammatic) => window.CloseCore(reason, isProgrammatic); + public static void CloseCore_(this Window window, WindowCloseReason reason, bool isProgrammatic, bool ignoreCancel) => window.CloseCore(reason, isProgrammatic, ignoreCancel); [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void HandleResized_(this Window window, Size clientSize, WindowResizeReason reason) => window.HandleResized(clientSize, reason); diff --git a/src/Avalonia.Skia.Internals/ClassicDesktopStyleApplicationLifetime.cs b/src/Avalonia.Skia.Internals/ClassicDesktopStyleApplicationLifetime.cs index db039e973db..d882d516c5f 100644 --- a/src/Avalonia.Skia.Internals/ClassicDesktopStyleApplicationLifetime.cs +++ b/src/Avalonia.Skia.Internals/ClassicDesktopStyleApplicationLifetime.cs @@ -174,7 +174,7 @@ bool DoShutdown( { if (w.Owner is null) { - w.CloseCore_(WindowCloseReason.ApplicationShutdown, isProgrammatic); + w.CloseCore_(WindowCloseReason.ApplicationShutdown, isProgrammatic, false); } }