mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection
This commit is contained in:
parent
23a3c55c51
commit
49f09d6d0e
3 changed files with 23 additions and 3 deletions
|
|
@ -358,7 +358,6 @@ static int add_matches(struct userdata *u, pa_bool_t add) {
|
|||
} else
|
||||
dbus_bus_remove_match(pa_dbus_connection_get(u->dbus_connection), filter2, &e);
|
||||
|
||||
|
||||
if (add)
|
||||
pa_assert_se(dbus_connection_add_filter(pa_dbus_connection_get(u->dbus_connection), filter_func, u, NULL));
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue