#880: pasuspender should trap SIGINT ---------------------+------------------------------------------------------ Reporter: heftig | Owner: lennart Type: defect | Status: new Milestone: | Component: clients Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment(by caiiiyua): I also tested this issue on my ubuntu 10.10 with PulseAudio 0.9.21 and it seems work well too. here is the log of PA: {{{ I: client.c: Created 9 "Native client (UNIX socket client)" D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: module-augment-properties.c: Looking for .desktop file for pasuspender D: protocol-native.c: Suspending all sinks D: protocol-native.c: Suspending all sources I: client.c: Created 10 "Native client (UNIX socket client)" I: client.c: Freed 10 "Native client (UNIX socket client)" I: protocol-native.c: Connection died. D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes D: protocol-native.c: Resuming all sinks D: protocol-native.c: Resuming all sources I: client.c: Freed 9 "pasuspender" I: protocol-native.c: Connection died. }}} I did: {{{ m...@momo-laptop:~$ pasuspender bash m...@momo-laptop:~$ jackd -d alsa jackd 0.118.0 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. .... ^Cjack main caught signal 2 m...@momo-laptop:~$ exit exit m...@momo-laptop:~$ }}} By the way,I guess trap signals like SIGINT and SIGTERM,etc are enough to make a clean exit. -- Ticket URL: <http://pulseaudio.org/ticket/880#comment:3> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets