Skip to content

Commit

Permalink
Issue #5.
Browse files Browse the repository at this point in the history
Programm finishes working when last window has closed.
  • Loading branch information
EvgenyIv96 committed Aug 6, 2017
1 parent d9f586f commit 70effa3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gener/gener/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ - (void)applicationWillTerminate:(NSNotification *)aNotification {
// Insert code here to tear down your application
}

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender {
return YES;
}

@end

0 comments on commit 70effa3

Please sign in to comment.