1.20.x backdrop_web_test_case.php protected BackdropWebTestCase::curlClose()

Close the cURL handler and unset the handler.

File

modules/simpletest/backdrop_web_test_case.php, line 2129

Class

BackdropWebTestCase
Test case for typical Backdrop tests.

Code

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