diff --git a/src/Symfony/Component/HttpClient/Response/CurlResponse.php b/src/Symfony/Component/HttpClient/Response/CurlResponse.php index e7de360a8e..c356f86c78 100644 --- a/src/Symfony/Component/HttpClient/Response/CurlResponse.php +++ b/src/Symfony/Component/HttpClient/Response/CurlResponse.php @@ -43,6 +43,7 @@ final class CurlResponse implements ResponseInterface $this->multi = $multi; if (\is_resource($ch)) { + unset($multi->handlesActivity[(int) $ch]); $this->handle = $ch; $this->debugBuffer = fopen('php://temp', 'w+'); if (0x074000 === $curlVersion) {