Skip to content

Commit

Permalink
fix: File > Exit
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJosipovic committed Sep 8, 2024
1 parent 5640ad6 commit 238c60b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/KubeUI/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ private void ResetLayout()
[RelayCommand]
private void Close()
{
if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime lifetime)
lifetime.Shutdown();
}

[RelayCommand]
Expand Down

0 comments on commit 238c60b

Please sign in to comment.