mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: module-jackdbus-detect: cancel pending dbus call on module destroy
This commit is contained in:
parent
67375965b6
commit
e0ea0574f1
1 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ static void impl_free(struct impl *impl)
|
||||||
{
|
{
|
||||||
set_started(impl, false);
|
set_started(impl, false);
|
||||||
|
|
||||||
|
cancel_and_unref(&impl->pending_call);
|
||||||
|
|
||||||
if (impl->bus)
|
if (impl->bus)
|
||||||
dbus_connection_unref(impl->bus);
|
dbus_connection_unref(impl->bus);
|
||||||
spa_dbus_connection_destroy(impl->conn);
|
spa_dbus_connection_destroy(impl->conn);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue