pulse-server: don't broadcast remove event when a module wasn't loaded

This commit is contained in:
Barnabás Pőcze 2021-06-06 15:49:58 +02:00
parent f26358e958
commit 4d02233ff3
3 changed files with 9 additions and 5 deletions

View file

@ -63,6 +63,7 @@ struct module {
const struct module_methods *methods;
struct spa_hook_list listener_list;
void *user_data;
unsigned int loaded:1;
};
struct module *module_new(struct impl *impl, const struct module_methods *methods, size_t user_data);