summaryrefslogtreecommitdiff
path: root/src/modules/module-esound-sink.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-05 23:56:25 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-05 23:56:25 +0200
commit34dd4a20f2e976b260e8aa3f3128e55ec80bb85b (patch)
tree7dbb7baff0336d98fcd81cdf330a6d8015963ef6 /src/modules/module-esound-sink.c
parentca127532fcddd28cc40bbbe0646a1205b365ffb7 (diff)
fix shutdown when --disallow-module-loading=1 is passed
Diffstat (limited to 'src/modules/module-esound-sink.c')
-rw-r--r--src/modules/module-esound-sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-esound-sink.c b/src/modules/module-esound-sink.c
index 6ca649782..f748808e2 100644
--- a/src/modules/module-esound-sink.c
+++ b/src/modules/module-esound-sink.c
@@ -479,7 +479,7 @@ static void io_callback(PA_GCC_UNUSED pa_iochannel *io, void*userdata) {
u->io = NULL;
}
- pa_module_unload_request(u->module);
+ pa_module_unload_request(u->module, TRUE);
}
}
@@ -491,7 +491,7 @@ static void on_connection(PA_GCC_UNUSED pa_socket_client *c, pa_iochannel*io, vo
if (!io) {
pa_log("Connection failed: %s", pa_cstrerror(errno));
- pa_module_unload_request(u->module);
+ pa_module_unload_request(u->module, TRUE);
return;
}