diff --git a/src/VCS/Adapter.php b/src/VCS/Adapter.php index 96ae8437..ab8c48cf 100644 --- a/src/VCS/Adapter.php +++ b/src/VCS/Adapter.php @@ -408,8 +408,6 @@ protected function call(string $method, string $path = '', array $headers = [], throw new Exception(curl_error($ch) . ' with status code ' . $responseStatus, $responseStatus); } - curl_close($ch); - $responseHeaders['status-code'] = $responseStatus; if ($responseStatus === 500) {