diff --git a/src/Utopia/Messaging/Adapter.php b/src/Utopia/Messaging/Adapter.php index 5e040e9c..4ee77644 100644 --- a/src/Utopia/Messaging/Adapter.php +++ b/src/Utopia/Messaging/Adapter.php @@ -115,8 +115,6 @@ protected function request( $response = \curl_exec($ch); - \curl_close($ch); - try { $response = \json_decode($response, true, flags: JSON_THROW_ON_ERROR); } catch (\JsonException) { @@ -250,7 +248,6 @@ protected function requestMulti( ]; \curl_multi_remove_handle($mh, $ch); - \curl_close($ch); } \curl_multi_close($mh);