From a890dc3fb8d5b50a53770b6fc6ae38476a402bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 16 Mar 2021 14:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Events/OnRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Events/OnRequest.php b/HttpServer/Events/OnRequest.php index dd77b54e..8db23be4 100644 --- a/HttpServer/Events/OnRequest.php +++ b/HttpServer/Events/OnRequest.php @@ -69,7 +69,7 @@ class OnRequest extends Callback } catch (ExitException | Error | \Throwable $exception) { return $this->sendErrorMessage($request, $response, $exception); } finally { - file(Event::SYSTEM_RESOURCE_RELEASES); + fire(Event::SYSTEM_RESOURCE_RELEASES); \logger()->insert(); } }