Commit df95a80f authored by J. Alexander Treuman's avatar J. Alexander Treuman

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
parent 01faa6f4
...@@ -57,6 +57,7 @@ void decodeSigHandler(int sig, siginfo_t * si, void *v) ...@@ -57,6 +57,7 @@ void decodeSigHandler(int sig, siginfo_t * si, void *v)
int pid = decode_pid; int pid = decode_pid;
if (pid > 0) { if (pid > 0) {
DEBUG("player (or child) got SIGTERM\n"); DEBUG("player (or child) got SIGTERM\n");
kill(pid, SIGCONT);
kill(pid, SIGTERM); kill(pid, SIGTERM);
} else } else
DEBUG("decoder (or child) got SIGTERM\n"); DEBUG("decoder (or child) got SIGTERM\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment