From: Andre Noll Date: Mon, 17 Feb 2014 21:18:43 +0000 (+0100) Subject: gui: Don't ignore SIGHUP. X-Git-Tag: v0.5.2~4^2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=b0cbef19d0c704d570f42f8de80fe43664ada9f0;p=paraslash.git gui: Don't ignore SIGHUP. It results in para_gui eating 100% CPU if the terminal window is closed. Not ignoring the signal makes para_gui die instead. This bug was present since "day 1". --- diff --git a/gui.c b/gui.c index baab0bd9..c20bb7ac 100644 --- a/gui.c +++ b/gui.c @@ -560,7 +560,6 @@ static void setup_signal_handling(void) para_install_sighandler(SIGCHLD); para_install_sighandler(SIGWINCH); para_install_sighandler(SIGUSR1); - para_sigaction(SIGHUP, SIG_IGN); } /* kill every process in the process group and exit */