We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe9982 commit 11c54b7Copy full SHA for 11c54b7
1 file changed
src/Client.php
@@ -67,18 +67,18 @@ public function run(Request $request) : Response
67
if ($body === false) {
68
$error = \curl_error($handle);
69
$errno = \curl_errno($handle);
70
- \curl_close($handle);
+ unset($handle);
71
throw new RequestException(
72
$error,
73
$errno,
74
info: $info
75
);
76
}
77
78
if ($body === true) {
79
$body = '';
80
81
$objectId = \spl_object_id($handle);
82
$response = new Response(
83
$request,
84
$this->parsed[$objectId]['protocol'],
0 commit comments