protected function WebTestBase::curlClose

Close the cURL handler and unset the handler.

5 calls to WebTestBase::curlClose()

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 1026
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

protected function curlClose() {
  if (isset($this->curlHandle)) {
    curl_close($this->curlHandle);
    unset($this->curlHandle);
  }
}