[HttpClient] unset activity list when creating CurlResponse

This commit is contained in:
Nicolas Grekas 2020-06-23 20:33:34 +02:00
parent 030b10ca0d
commit b249f00519
1 changed files with 1 additions and 0 deletions

View File

@ -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) {