mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-12 05:34:05 -04:00
Now that the loop_leave function will assert when the unlock fails we need to be extra careful with the cancellable loop. If it cancels inside the poll or one of the before/after callbacks we need to make sure that we lock the loop correctly again or we will create an assert later on. Do this by pushing the cleanup earlier and then record all the things we managed to do before we get canceled. If we ever get canceled and the lock was unlocked but not locked again, fix this up. Fix fixes issues when using the JACK API causing assertions when the data loop is stopped/cancelled. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||