changed signal handling to not catch Ctrl-C anymore
authorHolger Schemel <info@artsoft.org>
Tue, 8 Dec 2015 11:34:53 +0000 (12:34 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 8 Dec 2015 11:34:53 +0000 (12:34 +0100)
src/libgame/system.c

index b04cd9b57ed29d47e9146face31efc909461d213..b5e4f270c284fbde5d20661d1fb7322fb6b81fcd 100644 (file)
@@ -118,7 +118,7 @@ void InitExitFunction(void (*exit_function)(int))
   program.exit_function = exit_function;
 
   /* set signal handlers to custom exit function */
-  signal(SIGINT, exit_function);
+  // signal(SIGINT, exit_function);
   signal(SIGTERM, exit_function);
 
   /* set exit function to automatically cleanup SDL stuff after exit() */