src/Leevel/Protocol/Process/Pool.php
public function clear(): void
    {
        foreach ($this->pool->getPools() as $className => &$pool) {
            while ($pool->count()) {
                $pool->shift();
            }
        }

        $this->log('The object pool has cleared.');
    }
public function clear(): void
    {
        foreach ($this->pool->getPools() as $className => &$pool) {
            while ($pool->count()) {
                $pool->shift();
            }
        }

        $this->log('The object pool has cleared.');
    }
清理.