From a2d3c259a808e8acc39429de03614912ed1d5460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 10 Sep 2020 13:44:47 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/HttpServer/Events/OnRequest.php b/HttpServer/Events/OnRequest.php index 5f16fdb9..f41b1ba4 100644 --- a/HttpServer/Events/OnRequest.php +++ b/HttpServer/Events/OnRequest.php @@ -47,6 +47,7 @@ class OnRequest extends Callback } catch (Error | \Throwable $exception) { $params = $this->sendErrorMessage($sResponse ?? null, $exception, $response); } finally { + unset($sResponse, $response); $events = Snowflake::app()->getEvent(); if (!$events->exists(Event::EVENT_AFTER_REQUEST)) { return;