mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 22:28:03 +02:00
policy-node: rescan also when streams are removed
This is useful, for example, to cleanup monitor streams in pavucontrol after a stream has been destroyed. Fixes #388 See also pipewire#1840
This commit is contained in:
parent
2107e301d6
commit
98d968caa6
1 changed files with 1 additions and 3 deletions
|
|
@ -964,9 +964,7 @@ end)
|
|||
|
||||
linkables_om:connect("object-removed", function (om, si)
|
||||
unhandleLinkable (si)
|
||||
if si.properties["item.node.type"] ~= "stream" then
|
||||
scheduleRescan ()
|
||||
end
|
||||
scheduleRescan ()
|
||||
end)
|
||||
|
||||
devices_om:connect("object-added", function (om, device)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue