mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: sync manager before module unload completion
Operations sync manager, so use that. On Pulseaudio, module unload is async procedure. However, this race condition may be hard to hit in practice, whereas on pipewire-pulse it's not hard. E.g. Zoom appears to assume that modules are unloaded synchronously.
This commit is contained in:
parent
e737e14e8b
commit
77e50d2dfe
1 changed files with 1 additions and 1 deletions
|
|
@ -4914,7 +4914,7 @@ static int do_unload_module(struct client *client, uint32_t command, uint32_t ta
|
||||||
|
|
||||||
module_unload(module);
|
module_unload(module);
|
||||||
|
|
||||||
return reply_simple_ack(client, tag);
|
return operation_new(client, tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int do_send_object_message(struct client *client, uint32_t command, uint32_t tag, struct message *m)
|
static int do_send_object_message(struct client *client, uint32_t command, uint32_t tag, struct message *m)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue