aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/nsterm.m7
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2b22e09461f..e0ac7f298c7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12013-11-20 Jan Djärv <jan.h.d@swipnet.se> 12013-11-20 Jan Djärv <jan.h.d@swipnet.se>
2 2
3 * nsterm.m (init, run, stop:): Enable again. stop calls super stop
4 to handle dialogs.
5
3 * nsterm.m (init, run, stop:): Comment out for now, does not work 6 * nsterm.m (init, run, stop:): Comment out for now, does not work
4 with dialogs. 7 with dialogs.
5 8
diff --git a/src/nsterm.m b/src/nsterm.m
index 991be1f0396..aa9f2af35d8 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4367,7 +4367,6 @@ ns_term_shutdown (int sig)
4367 4367
4368@implementation EmacsApp 4368@implementation EmacsApp
4369 4369
4370#if 0
4371#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 4370#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9
4372- (id)init 4371- (id)init
4373{ 4372{
@@ -4386,7 +4385,7 @@ ns_term_shutdown (int sig)
4386 4385
4387 shouldKeepRunning = YES; 4386 shouldKeepRunning = YES;
4388 do 4387 do
4389 { 4388 {
4390 [pool release]; 4389 [pool release];
4391 pool = [[NSAutoreleasePool alloc] init]; 4390 pool = [[NSAutoreleasePool alloc] init];
4392 4391
@@ -4405,9 +4404,11 @@ ns_term_shutdown (int sig)
4405- (void)stop: (id)sender 4404- (void)stop: (id)sender
4406{ 4405{
4407 shouldKeepRunning = NO; 4406 shouldKeepRunning = NO;
4407 // Stop possible dialog also. Noop if no dialog present.
4408 // The file dialog still leaks 7k - 10k on 10.9 though.
4409 [super stop:sender];
4408} 4410}
4409#endif 4411#endif
4410#endif
4411 4412
4412- (void)logNotification: (NSNotification *)notification 4413- (void)logNotification: (NSNotification *)notification
4413{ 4414{