Closed mglaman closed 5 months ago
The change required:
Implement \Symfony\Component\HttpKernel\TerminableInterface
and
public function terminate(Request $request, Response $response): void {
if ($this->httpKernel instanceof TerminableInterface) {
$this->httpKernel->terminate($request, $response);
}
}
It doesn't implement TerminableInterface so termination of results doesn't happen, even though the decorated http kernel does.
I discovered in \Drupal\Core\StackMiddleware\StackedHttpKernel::terminate with