diff --git a/platform/mac/AppDelegate.mm b/platform/mac/AppDelegate.mm index 2cdb2b890..639f2b01d 100755 --- a/platform/mac/AppDelegate.mm +++ b/platform/mac/AppDelegate.mm @@ -659,6 +659,11 @@ -(id)init return self; } +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app +{ + return NO; +} + - (void) checkOpenGLRequirements { // Force the OpenGL context to be created now and make current and query OpenGL for extensions. diff --git a/platform/mac/CoronaConsole/CoronaConsole/AppDelegate.m b/platform/mac/CoronaConsole/CoronaConsole/AppDelegate.m index c11f0b232..ae6779cb1 100644 --- a/platform/mac/CoronaConsole/CoronaConsole/AppDelegate.m +++ b/platform/mac/CoronaConsole/CoronaConsole/AppDelegate.m @@ -32,6 +32,11 @@ static void NotificationCallback(CFNotificationCenterRef center, void *observer, @implementation AppDelegate +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app +{ + return NO; +} + - (void)applicationWillFinishLaunching:(NSNotification *)aNotification { CFNotificationCenterAddObserver(CFNotificationCenterGetDistributedCenter(), (__bridge const void *)(self), NotificationCallback, CFSTR("CoronaConsole.clearConsole"), NULL, CFNotificationSuspensionBehaviorDeliverImmediately); diff --git a/platform/mac/CoronaLiveServer/CoronaLiveServer/AppDelegate.m b/platform/mac/CoronaLiveServer/CoronaLiveServer/AppDelegate.m index 112169dba..d68e7c8ff 100644 --- a/platform/mac/CoronaLiveServer/CoronaLiveServer/AppDelegate.m +++ b/platform/mac/CoronaLiveServer/CoronaLiveServer/AppDelegate.m @@ -38,6 +38,11 @@ @interface AppDelegate ()