From cc723a763085f0f54a97bc57a86067ebbd884fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 29 Aug 2023 21:43:37 +0800 Subject: [PATCH] eee --- Connection.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Connection.php b/Connection.php index 5be940c..c1174a0 100644 --- a/Connection.php +++ b/Connection.php @@ -210,6 +210,8 @@ class Connection extends Component return $client; } + $client = null; + $data = null; $this->logger->error('PDO连接已失效, 空闲超时或已不可用,重新获取.', [$this->cds]); $this->pool()->abandon($this->cds);