diff --git a/src/http/StatelessApplication.php b/src/http/StatelessApplication.php index 46919d22..6028cc2f 100644 --- a/src/http/StatelessApplication.php +++ b/src/http/StatelessApplication.php @@ -402,10 +402,6 @@ protected function reset(ServerRequestInterface $request): void { $this->startEventTracking(); - if ($this->has('errorHandler')) { - $this->errorHandler->unregister(); - } - // parent constructor is called because StatelessApplication uses a custom initialization pattern // @phpstan-ignore-next-line parent::__construct($this->config);