mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-07 02:40:10 +01:00
static-endpoints: avoid capturing session item reference in the activate closure
This commit is contained in:
parent
45e0ad1092
commit
7d65dc2a09
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ function createEndpoint (factory_name, properties)
|
|||
|
||||
-- activate and register endpoint
|
||||
ep:activate (Features.ALL, function (item)
|
||||
ep:register ()
|
||||
Log.info(ep, "registered endpoint " .. properties.name)
|
||||
item:register ()
|
||||
Log.info(item, "registered endpoint " .. properties.name)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue