diff --git a/src/Runtime/LambdaRuntime.php b/src/Runtime/LambdaRuntime.php index 171dc0b03..e08219809 100755 --- a/src/Runtime/LambdaRuntime.php +++ b/src/Runtime/LambdaRuntime.php @@ -336,7 +336,6 @@ private function postJson(string $url, mixed $data, array $headers = []): void private function closeCurlHandleNext(): void { if ($this->curlHandleNext !== null) { - curl_close($this->curlHandleNext); $this->curlHandleNext = null; } } @@ -344,7 +343,6 @@ private function closeCurlHandleNext(): void private function closeCurlHandleResult(): void { if ($this->curlHandleResult !== null) { - curl_close($this->curlHandleResult); $this->curlHandleResult = null; } }