aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-07 20:02:27 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-07 20:02:27 +0000
commitdf95a80fa10a7fe79e2142ab83afef926158ee23 (patch)
tree5f5a336131d779f768e90a147a20363551660988 /src
parent01faa6f4e30e2a75319ca2b402f19fca0a6ae9b6 (diff)
downloadmpd-df95a80fa10a7fe79e2142ab83afef926158ee23.tar.gz
mpd-df95a80fa10a7fe79e2142ab83afef926158ee23.tar.xz
mpd-df95a80fa10a7fe79e2142ab83afef926158ee23.zip
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
Diffstat (limited to '')
-rw-r--r--src/decode.c1
1 files changed, 1 insertions, 0 deletions
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");