summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/client.c
diff options
context:
space:
mode:
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) {