pipewire: impl-module: add method for deferred destroy

Add `pw_impl_module_schedule_destroy()` which will
schedule a call to `pw_impl_module_destroy()` on
the module's context's work queue.

For now, do not add it to the public impl-module.h header,
only private.h.
This commit is contained in:
Barnabás Pőcze 2022-02-17 03:22:52 +01:00
parent 4d4c6f20df
commit a13e7ef091
2 changed files with 25 additions and 0 deletions

View file

@ -1279,6 +1279,8 @@ void pw_settings_init(struct pw_context *context);
int pw_settings_expose(struct pw_context *context);
void pw_settings_clean(struct pw_context *context);
void pw_impl_module_schedule_destroy(struct pw_impl_module *module);
/** \endcond */
#ifdef __cplusplus