mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-18 12:50:26 +01:00
If a global is removed while an activation transition is in progress and it happens that this activation transition was triggered by an object manager, it is theoretically possible that this object manager will then add this proxy after the transition completes, since the transition is holding a ref on the proxy and therefore it will not be destroyed. This ensures that the transitions are stopped on time and the ref is dropped. Because of this change, it is now also necessary to destroy the pw_proxy on WpProxy's dispose() function, because if a proxy is removed before it is bound, the registry aborts the activation but wp_proxy_deactivate() is not destroying the proxy, since FEATURE_BOUND is not active. In dispose() we can guarantee that the pw_proxy is destroyed. |
||
|---|---|---|
| .. | ||
| wp | ||
| wplua | ||
| meson.build | ||