1 backdrop_web_test_case.php protected BackdropWebTestCase::curlClose()

Close the cURL handler and unset the handler.

File

core/modules/simpletest/backdrop_web_test_case.php, line 2133

Class

BackdropWebTestCase
Test case for typical Backdrop tests.

Code

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