mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 07:28:41 +02:00
alsa.lua: remove node names from table when parent device is destroyed
Fixes #293
This commit is contained in:
parent
76d87813a1
commit
392bd81913
1 changed files with 3 additions and 0 deletions
|
|
@ -345,6 +345,9 @@ function createMonitor ()
|
|||
end
|
||||
end
|
||||
device_names_table[device.properties["device.name"]] = nil
|
||||
for managed_node in device:iterate_managed_objects() do
|
||||
node_names_table[managed_node.properties["node.name"]] = nil
|
||||
end
|
||||
end)
|
||||
|
||||
-- reset the name tables to make sure names are recycled
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue