Skip to content

Commit 27d5b03

Browse files
committed
Terminate Xcodes app after last window closed
1 parent 74237f8 commit 27d5b03

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Xcodes/XcodesApp.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
166166
}
167167

168168
func applicationDidFinishLaunching(_: Notification) {}
169+
170+
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
171+
true
172+
}
169173
}
170174

171175
func localizeString(_ key: String, comment: String = "") -> String {

0 commit comments

Comments
 (0)