diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index c355e8d6..c55e45c2 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -162,7 +162,7 @@ class Connection extends Pool if (!(($client = $this->get($coroutineName)[1]) instanceof PDO)) { throw new Exception('Connection pool overflow.'); } - return $this->saveClient($coroutineName, $this->get($coroutineName)[1]); + return $this->saveClient($coroutineName, $client); }