From 41e90d372da4d7f7e01d1fe4561ca6ba45481ba1 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 8 Dec 2015 12:34:53 +0100 Subject: [PATCH] changed signal handling to not catch Ctrl-C anymore --- src/libgame/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libgame/system.c b/src/libgame/system.c index b04cd9b5..b5e4f270 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -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() */ -- 2.34.1