We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a4c870 + fa50a3d commit d66b468Copy full SHA for d66b468
1 file changed
src/Http/Driver/CurlDriver.php
@@ -34,6 +34,7 @@ public function __destruct()
34
{
35
if (null !== self::$ch) {
36
curl_close(self::$ch);
37
+ self::$ch = null; // Nulling to avoid calling curl_close again
38
}
39
40
0 commit comments