改名
This commit is contained in:
@@ -277,9 +277,9 @@ abstract class Pool extends Component
|
|||||||
*/
|
*/
|
||||||
public function clean(string $name)
|
public function clean(string $name)
|
||||||
{
|
{
|
||||||
var_dump(Timer::clear($this->creates));
|
var_dump($name, Timer::clear($this->creates));
|
||||||
// $this->warning('release ' . get_called_class() . ' pool...');
|
// $this->warning('release ' . get_called_class() . ' pool...');
|
||||||
if (!isset($this->_items[$name])) {
|
if (!Context::inCoroutine() || !isset($this->_items[$name])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$channel = $this->_items[$name];
|
$channel = $this->_items[$name];
|
||||||
|
|||||||
Reference in New Issue
Block a user