Skip to content

Commit 9a63bc7

Browse files
Make app terminate when BuildSettingExtractor window is closed.
1 parent dcd0c7b commit 9a63bc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

BuildSettingExtractor/AppDelegate.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,11 @@ - (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recove
128128
[invoke invokeWithTarget:delegate];
129129
}
130130

131+
#pragma mark - NSApplicationDelegate
132+
133+
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender {
134+
return YES;
135+
}
136+
137+
131138
@end

0 commit comments

Comments
 (0)