From b0cbef19d0c704d570f42f8de80fe43664ada9f0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 17 Feb 2014 22:18:43 +0100 Subject: [PATCH] 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". --- gui.c | 1 - 1 file changed, 1 deletion(-) 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 */ -- 2.39.5