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