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