diff doodle/core/backtrace.d @ 88:100dd23c7bdf

Ch ch ch changes: * Handle SIGINT like a geek for now * GtkD Context has no destructor and hence it would seem, a memory leak * No more gtk_* C-function invocations * Configured my GtkD patches * (Comments)
author David Bryant <bagnose@gmail.com>
date Wed, 18 Aug 2010 23:51:43 +0930
parents 43cc2135ced0
children 345fb56d89fc ab745d8b10e5
line wrap: on
line diff
--- a/doodle/core/backtrace.d	Mon Aug 16 22:54:16 2010 +0930
+++ b/doodle/core/backtrace.d	Wed Aug 18 23:51:43 2010 +0930
@@ -31,6 +31,7 @@
             case SIGFPE:  return "SIGFPE";
             case SIGILL:  return "SIGILL";
             case SIGABRT: return "SIGABRT";
+            case SIGINT:  return "SIGINT";
             default:      return "";
             }
         }
@@ -44,6 +45,7 @@
         signal(SIGFPE,  &signalHandler);
         signal(SIGILL,  &signalHandler);
         signal(SIGSEGV, &signalHandler);
+        signal(SIGINT, &signalHandler);
     }
 
     static this() {