mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-06-09 18:58:19 +02:00
wp_transition_get_completed incorrectly returns TRUE for transitions that have not been advanced at least once, and hence are obviously not completed. This is because transitions start at STEP_NONE, and completed transition is also indicated by STEP_NONE. Fix this by adding a private flag to track whether transition was started. Fixes object managers sometimes missing object-changed events. How that happens is the following: - object activation transitions are advanced in idle callback - they are aborted on registry global removal events - registry global removal event can arrive before the idle callback - wp_object_abort_activation uses wp_transition_get_completed to determine whether transition was completed, but it returned bogus values on transitions that hadn't been started. |
||
|---|---|---|
| .. | ||
| wp | ||
| wplua | ||
| meson.build | ||