public function __destruct() { if ($this->_rebuild === true) { try { $this->endRebuild(); } catch (Exception $e) { } } foreach (self::$_adds as $srv) { $srv->close(); } self::$_adds = array(); parent::__destruct(); }
public function __destruct() { if ($this->_rebuild === true) { try { $this->endRebuild(); } catch (Exception $e) { } } parent::__destruct(); }