Post

Replies

Boosts

Views

Activity

applicationWillTerminate not being called
macOS 10.14.6 (Mojave)Xcode 11.2.1 (11B500)Language: Objective-CAn out of the box macOS application does not call the delgate applicationWillTerminate.I have logs in both applicationDidFinishLaunching and applicationWillTerminate in the default source.- (void)applicationDidFinishLaunching:(NSNotification *)notification { NSLog(@"applicationDidFinishLaunching"); } - (void)applicationWillTerminate:(NSNotification *)notification { NSLog(@"applicationWillTerminate"); }applicationDidFinishLaunching logs fine; but applicationWillTerminate does not get executed at all while quiting. Again this is a default app generation for macOS (No options/Objective-C).Known issue? Bug?Thanks,Neil
12
0
9.5k
Nov ’19