Is it possible to close a macOS SwiftUI application when the last window is closed by the user, similar to the applicationShouldTerminateAfterLastWindowClosed AppDelegate function.
func applicationShouldTerminateAfterLastWindowClosed(NSApplication) -> Bool