Make multiple Ctrl-C capable to kill stuck protocols.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-03-25 02:26:49 +01:00
parent 48ee302e0f
commit 6dfb4ab8c8

View File

@ -433,6 +433,7 @@ static void
sigterm_handler(int sig) sigterm_handler(int sig)
{ {
received_sigterm = sig; received_sigterm = sig;
q_pressed++;
term_exit(); term_exit();
} }