We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c143ba commit e18ce44Copy full SHA for e18ce44
src/Symfony/Bundle/FrameworkBundle/EventListener/ConsoleProfilerListener.php
@@ -109,6 +109,10 @@ public function profile(ConsoleTerminateEvent $event): void
109
return;
110
}
111
112
+ if (!$this->profiler->isEnabled()) {
113
+ return;
114
+ }
115
+
116
if (null !== $sectionId = $request->attributes->get('_stopwatch_token')) {
117
// we must close the section before saving the profile to allow late collect
118
try {
0 commit comments