From a7e0f306d2758f45212cfae3fc124565b8a39ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 14:05:53 +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 --- System/Abstracts/Pool.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 2a3727ec..25592e4c 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -291,6 +291,12 @@ abstract class Pool extends Component } $this->_items[$name]->close(); $this->_items[$name] = null; + + if ($this->creates > -1) { + Timer::clear($this->creates); + $this->debug('clean timer.'); + } + }