summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/client.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
commit756fac8d0433d02819d3910238ebf1b7a33a3046 (patch)
tree92da910d93ed3741d2629ea124f009546bcc629e /src/pulsecore/client.c
parentf1d2bf84089b1e5b5988a5e5d6d571a507a52337 (diff)
add new switch --disallow-exit
Diffstat (limited to 'src/pulsecore/client.c')
-rw-r--r--src/pulsecore/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/client.c b/src/pulsecore/client.c
index 0ffd2330..ab6e5df4 100644
--- a/src/pulsecore/client.c
+++ b/src/pulsecore/client.c
@@ -58,7 +58,7 @@ pa_client *pa_client_new(pa_core *core, const char *driver, const char *name) {
pa_log_info("Created %u \"%s\"", c->index, pa_strnull(name));
pa_subscription_post(core, PA_SUBSCRIPTION_EVENT_CLIENT|PA_SUBSCRIPTION_EVENT_NEW, c->index);
- pa_core_check_quit(core);
+ pa_core_check_idle(core);
return c;
}
@@ -78,7 +78,7 @@ void pa_client_free(pa_client *c) {
pa_xfree(c->driver);
pa_xfree(c);
- pa_core_check_quit(core);
+ pa_core_check_idle(core);
}
void pa_client_kill(pa_client *c) {