[glom] Renable the crash handler. I disabled it while debugging.



commit 7d37669dff86b0789a3f091c513152f811385d4f
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Dec 7 10:26:56 2009 +0100

    Renable the crash handler. I disabled it while debugging.

 glom/libglom/connectionpool.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index 38f6d7d..0f2f2ea 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -535,7 +535,7 @@ bool ConnectionPool::startup(const SlotProgress& slot_progress, bool network_sha
 
   //If we crash while running (unlikely, hopefully), then try to cleanup.
   //Comment this out if you want to see the backtrace in a debugger.
-  //previous_sig_handler = signal(SIGSEGV, &on_linux_signal);
+  previous_sig_handler = signal(SIGSEGV, &on_linux_signal);
 
   return true;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]