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