mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
loop: flush items before stopping
Before leaving the loop, flush out any pending items in the invoke queue. See #2631
This commit is contained in:
parent
32cf5f312b
commit
0ad7cb3298
1 changed files with 1 additions and 0 deletions
|
|
@ -350,6 +350,7 @@ static void loop_leave(void *object)
|
|||
|
||||
if (--impl->enter_count == 0) {
|
||||
impl->thread = 0;
|
||||
flush_items(impl);
|
||||
impl->polling = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue