wireplumber/lib
Pauli Virtanen 0a605f666c wp: fix behavior of transitions before advanced for first time
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.
2022-03-05 23:43:02 +02:00
..
wp wp: fix behavior of transitions before advanced for first time 2022-03-05 23:43:02 +02:00
wplua wplua: handle re-entrancy in _wplua_closure_marshal 2021-10-15 15:04:46 +03:00
meson.build remove wpipc 2021-08-19 16:53:28 +03:00