diff --git a/src/Avalonia.Native/AvaloniaNativeApplicationPlatform.cs b/src/Avalonia.Native/AvaloniaNativeApplicationPlatform.cs index 109a43c1ae5..95d459499c6 100644 --- a/src/Avalonia.Native/AvaloniaNativeApplicationPlatform.cs +++ b/src/Avalonia.Native/AvaloniaNativeApplicationPlatform.cs @@ -90,7 +90,7 @@ void IAvnApplicationEvents.OnHide() { if (AvaloniaLocator.Current.GetService() is ActivatableLifetimeBase lifetime) { - lifetime.OnActivated(ActivationKind.Background); + lifetime.OnDeactivated(ActivationKind.Background); } }