From 9931921c216e415c7bfcd8857eb11e96be163ade Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 9 Jul 2026 11:31:33 +0200 Subject: [PATCH] context: decrement busy counter correctly for graph recalc When we need to retry after a reconfigure in graph recalc, decrement the busy counter first or else we will incorrectly pair increment and decrements and have the graph busy forever. --- src/pipewire/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipewire/context.c b/src/pipewire/context.c index 2d6f0ebc5..82ce4c04c 100644 --- a/src/pipewire/context.c +++ b/src/pipewire/context.c @@ -1775,6 +1775,7 @@ again: if (do_reconfigure) { reconfigure_driver(context, n); /* we might be suspended now and the links need to be prepared again */ + impl->recalc--; goto again; } /* we have a pending change. We place the new values in the