* nsterm.m (init, run, stop:): Enable again. stop calls super stop

to handle dialogs.
This commit is contained in:
Jan Djärv 2013-11-20 19:33:12 +01:00
parent f03f7d3dc0
commit cab0d91dfb
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2013-11-20 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (init, run, stop:): Enable again. stop calls super stop
to handle dialogs.
* nsterm.m (init, run, stop:): Comment out for now, does not work
with dialogs.

View file

@ -4367,7 +4367,6 @@ Needs to be here because ns_initialize_display_info () uses AppKit classes.
@implementation EmacsApp
#if 0
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9
- (id)init
{
@ -4386,7 +4385,7 @@ - (void)run
shouldKeepRunning = YES;
do
{
{
[pool release];
pool = [[NSAutoreleasePool alloc] init];
@ -4405,9 +4404,11 @@ - (void)run
- (void)stop: (id)sender
{
shouldKeepRunning = NO;
// Stop possible dialog also. Noop if no dialog present.
// The file dialog still leaks 7k - 10k on 10.9 though.
[super stop:sender];
}
#endif
#endif
- (void)logNotification: (NSNotification *)notification
{