mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 00:48:01 +02:00
session-bin: call parent's reset() in reset()
otherwise the parent never un-exports or de-activates itself and we leak a bunch of stuff
This commit is contained in:
parent
879c7d2ab9
commit
697226f306
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ si_session_bin_reset (WpSessionItem * item)
|
|||
WpSessionBin * self = WP_SESSION_BIN (item);
|
||||
WpSessionBinPrivate *priv = wp_session_bin_get_instance_private (self);
|
||||
|
||||
WP_SESSION_ITEM_CLASS (wp_session_bin_parent_class)->reset (item);
|
||||
|
||||
g_ptr_array_set_size (priv->items, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue