mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
fix shutdown when --disallow-module-loading=1 is passed
This commit is contained in:
parent
ca127532fc
commit
34dd4a20f2
26 changed files with 62 additions and 58 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue