pasuspender: Resume before exiting in case of SIGINT or fork() failure.
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 13 Jun 2012 09:45:16 +0000 (12:45 +0300)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:40 +0000 (00:38 +0530)
commit5237bab36e22341dd25a5aa61f906748779c750e
tree6f7e28c842cacf5cb1121ba2188abeae3867c990
parenta7567b78e33a473df7d5a2ce21f8b1803faa57c5
pasuspender: Resume before exiting in case of SIGINT or fork() failure.

Pressing Ctrl-C in a terminal while pasuspender is running
causes the sinks and sources to stay suspended after
pasuspender has exited, which is very annoying. This patch
fixes that problem, and also a similar problem with fork()
failures.
src/utils/pasuspender.c