Amp\Mysql\ConnectionPool::unmapConnection PHP Method

unmapConnection() private method

* This method might be called multiple times with the same hash. Important is that it's unmapped immediately
private unmapConnection ( $conn )
    private function unmapConnection($conn)
    {
        $hash = spl_object_hash($conn);
        if (isset($this->connectionMap[$hash])) {
            unset($this->connections[$this->connectionMap[$hash]], $this->connectionMap[$hash]);
        }
    }