diff --git a/Pool.php b/Pool.php index fb1a7c5..d77e11a 100644 --- a/Pool.php +++ b/Pool.php @@ -193,9 +193,7 @@ class Pool implements PoolInterface if (!isset($this->_connections[$name])) { return; } - if (Context::inCoroutine()) { - $this->_connections[$name]->close(); - } + $this->_connections[$name]->close(); }