mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: module-portal: cancel pending dbus call on module destroy
This commit is contained in:
parent
e7c9b26001
commit
499468c19f
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ static void module_destroy(void *data)
|
|||
spa_hook_remove(&impl->context_listener);
|
||||
spa_hook_remove(&impl->module_listener);
|
||||
|
||||
cancel_and_unref(&impl->portal_pid_pending);
|
||||
|
||||
if (impl->bus)
|
||||
dbus_connection_unref(impl->bus);
|
||||
spa_dbus_connection_destroy(impl->conn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue