diff --git a/spa/plugins/support/loop.c b/spa/plugins/support/loop.c index e02cbed87..758ce59db 100644 --- a/spa/plugins/support/loop.c +++ b/spa/plugins/support/loop.c @@ -350,6 +350,7 @@ static void loop_leave(void *object) if (--impl->enter_count == 0) { impl->thread = 0; + flush_items(impl); impl->polling = false; } }