This commit is contained in:
Albert Zeyer
2011-04-11 12:53:42 +02:00
parent 8fc66956ff
commit c7fc619cf1
+1
View File
@@ -80,6 +80,7 @@ $SIG{CHLD} = \&REAP;
my %conns;
$SIG{TERM} = $SIG{INT} = $SIG{__DIE__} = sub {
print "killed\n";
map { eval { kill $_->{decoder_pid} } } keys %conns;
kill 9, $avahi_publish;
exit(0);