[123688] trunk/dports/aqua/emacs-app

mf2k at macports.org mf2k at macports.org
Tue Aug 12 08:07:52 PDT 2014


Revision: 123688
          https://trac.macports.org/changeset/123688
Author:   mf2k at macports.org
Date:     2014-08-12 08:07:52 -0700 (Tue, 12 Aug 2014)
Log Message:
-----------
emacs-app: Fix hang on exit in Mavericks. (#43399)

Modified Paths:
--------------
    trunk/dports/aqua/emacs-app/Portfile
    trunk/dports/aqua/emacs-app/files/patch-mavericks-memleak.diff

Modified: trunk/dports/aqua/emacs-app/Portfile
===================================================================
--- trunk/dports/aqua/emacs-app/Portfile	2014-08-12 13:47:04 UTC (rev 123687)
+++ trunk/dports/aqua/emacs-app/Portfile	2014-08-12 15:07:52 UTC (rev 123688)
@@ -5,7 +5,7 @@
 
 name                emacs-app
 version             24.3
-revision            3
+revision            4
 categories          aqua editors
 maintainers         hum css openmaintainer
 

Modified: trunk/dports/aqua/emacs-app/files/patch-mavericks-memleak.diff
===================================================================
--- trunk/dports/aqua/emacs-app/files/patch-mavericks-memleak.diff	2014-08-12 13:47:04 UTC (rev 123687)
+++ trunk/dports/aqua/emacs-app/files/patch-mavericks-memleak.diff	2014-08-12 15:07:52 UTC (rev 123688)
@@ -33,7 +33,7 @@
      {
        /* We already have events pending. */
        kill (0, SIGIO);
-@@ -4270,6 +4270,46 @@ ns_term_shutdown (int sig)
+@@ -4270,6 +4270,49 @@ ns_term_shutdown (int sig)
  
  @implementation EmacsApp
  
@@ -74,6 +74,9 @@
 +- (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
 +
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140812/76eae9a6/attachment-0001.html>


More information about the macports-changes mailing list