diff --git a/src/Orchestration/Adapter/DockerAPI.php b/src/Orchestration/Adapter/DockerAPI.php index 0622719..22d2946 100644 --- a/src/Orchestration/Adapter/DockerAPI.php +++ b/src/Orchestration/Adapter/DockerAPI.php @@ -76,8 +76,6 @@ protected function call(string $url, string $method, $body = null, array $header $result = \curl_exec($ch); $responseCode = \curl_getinfo($ch, CURLINFO_RESPONSE_CODE); - \curl_close($ch); - return [ 'response' => $result, 'code' => $responseCode, @@ -188,8 +186,6 @@ protected function streamCall(string $url, int $timeout = -1): array } } - \curl_close($ch); - return [ 'response' => $result, 'code' => $responseCode,