[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - vcl/osx

Tor Lillqvist tml at collabora.com
Wed May 30 06:27:56 UTC 2018


 vcl/osx/vclnsapp.mm |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7753fe2d3a6ffd421af4fb4ce4dcebbf0377a765
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon May 28 14:41:20 2018 +0300

    tdf#117850: Just call _Exit() in our applicationWillTerminate:
    
    Sure, it is just a workaround, but a very effective workaround.
    
    Change-Id: Id0daff048a27dae5cf8fb5e0e949c5b21e03fc86
    Reviewed-on: https://gerrit.libreoffice.org/54924
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    (cherry picked from commit aa81a086bd3dcd7d6b830951619f310bd0aff30c)
    Reviewed-on: https://gerrit.libreoffice.org/54991

diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index edf7549a0993..7747db8ff71a 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -22,6 +22,8 @@
 
 #include <vector>
 
+#include <stdlib.h>
+
 #include <sal/main.h>
 #include <vcl/commandevent.hxx>
 #include <vcl/ImageTree.hxx>
@@ -326,6 +328,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
 {
     (void)aNotification;
     sal_detail_deinitialize();
+    _Exit(0);
 }
 
 -(NSApplicationTerminateReply)applicationShouldTerminate: (NSApplication *) app


More information about the Libreoffice-commits mailing list