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
This commit is contained in:
parent
01faa6f4e3
commit
df95a80fa1
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user