Пример #1
0
 /**
  *
  */
 public function __destruct()
 {
     $this->handleClose();
     parent::__destruct();
     unset($this->resource);
     unset($this->autoClose);
     unset($this->closing);
 }
Пример #2
0
 /**
  *
  */
 public function __destruct()
 {
     $this->handleClose();
     parent::__destruct();
     unset($this->socket);
     unset($this->loop);
     unset($this->open);
     unset($this->paused);
 }