66cd44d
From a0e6d2abeed9d64fe7862a7664ba80a6178bf3f2 Mon Sep 17 00:00:00 2001
66cd44d
From: David Tardon <dtardon@redhat.com>
66cd44d
Date: Tue, 8 Nov 2016 11:50:06 +0100
66cd44d
Subject: [PATCH] don't suppress crashes
66cd44d
66cd44d
An automatic restart after a crash makes the crash invisible to abrt.
66cd44d
66cd44d
Change-Id: I3854e619356049b144b08575879d289a3c12e4c9
66cd44d
---
66cd44d
 desktop/source/app/app.cxx | 4 +---
66cd44d
 1 file changed, 1 insertion(+), 3 deletions(-)
66cd44d
66cd44d
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
66cd44d
index 53365f4..3a3bac8 100644
66cd44d
--- a/desktop/source/app/app.cxx
66cd44d
+++ b/desktop/source/app/app.cxx
66cd44d
@@ -1312,14 +1312,12 @@ void Desktop::Exception(ExceptionCategory nCategory)
66cd44d
             if( bRestart )
66cd44d
             {
66cd44d
                 OfficeIPCThread::DisableOfficeIPCThread();
66cd44d
-                if( pSignalHandler )
66cd44d
-                    osl_removeSignalHandler( pSignalHandler );
66cd44d
 
66cd44d
                 restartOnMac(false);
66cd44d
                 if ( m_rSplashScreen.is() )
66cd44d
                     m_rSplashScreen->reset();
66cd44d
 
66cd44d
-                _exit( EXITHELPER_CRASH_WITH_RESTART );
7ba99be
+                return 0;
66cd44d
             }
66cd44d
             else
66cd44d
             {
66cd44d
-- 
66cd44d
2.9.3
66cd44d