This commit is contained in:
2025-05-12 14:25:25 +02:00
parent ab2db755ef
commit 9e378ca2b7
2719 changed files with 46505 additions and 60181 deletions

View File

@@ -66,7 +66,11 @@ class TraceableEventDispatcher extends BaseTraceableEventDispatcher
if (null === $sectionId) {
break;
}
$this->stopwatch->stopSection($sectionId);
try {
$this->stopwatch->stopSection($sectionId);
} catch (\LogicException) {
// The stop watch service might have been reset in the meantime
}
break;
case KernelEvents::TERMINATE:
// In the special case described in the `preDispatch` method above, the `$token` section