From df95a80fa10a7fe79e2142ab83afef926158ee23 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Thu, 7 Jun 2007 20:02:27 +0000 Subject: Send SIGCONT to the decode process before sending it SIGTERM. git-svn-id: https://svn.musicpd.org/mpd/trunk@6503 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/decode.c b/src/decode.c index 5a907ec85..fbc06b45c 100644 --- a/src/decode.c +++ b/src/decode.c @@ -57,6 +57,7 @@ void decodeSigHandler(int sig, siginfo_t * si, void *v) int pid = decode_pid; if (pid > 0) { DEBUG("player (or child) got SIGTERM\n"); + kill(pid, SIGCONT); kill(pid, SIGTERM); } else DEBUG("decoder (or child) got SIGTERM\n"); -- cgit v1.2.3