Пример #1
0
 /**
  * Remove handle object by handle
  *
  * @param CurlHandle $handle
  */
 public function releaseObject($handle)
 {
     $key = (string) $handle->getCurlHandle();
     $this->availables[$key] = $handle;
     if (isset($this->in_use[$key])) {
         unset($this->in_use[$key]);
     }
 }