From 2698feb719ef980a058869f5e6790c8df3861646 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sat, 14 Feb 2026 09:32:25 +0100 Subject: [PATCH] Make sure invocations via blackfire use the same container --- src/DependencyInjection/Configurator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DependencyInjection/Configurator.php b/src/DependencyInjection/Configurator.php index bc9e828ec2..7865956266 100644 --- a/src/DependencyInjection/Configurator.php +++ b/src/DependencyInjection/Configurator.php @@ -94,6 +94,8 @@ public function loadContainer(): string unset($staticParameters['env']['LINES']); unset($staticParameters['env']['COLUMNS']); unset($staticParameters['env']['SHELL_VERBOSITY']); + // make sure invocations via blackfire use the same container + unset($staticParameters['env']['BLACKFIRE_AGENT_SOCKET']); $containerKey = [ $staticParameters,