mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse-server: make method to schedule module unload
This commit is contained in:
parent
cd224942c7
commit
fee8bf69dd
3 changed files with 8 additions and 2 deletions
|
|
@ -34,6 +34,11 @@ static void on_module_unload(void *data, uint64_t count)
|
|||
module_unload(NULL, module);
|
||||
}
|
||||
|
||||
void module_schedule_unload(struct module *module)
|
||||
{
|
||||
pw_loop_signal_event(module->impl->loop, module->unload);
|
||||
}
|
||||
|
||||
struct module *module_new(struct impl *impl, const struct module_methods *methods, size_t user_data)
|
||||
{
|
||||
struct module *module;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue