public function specEnd($log = null) { parent::specEnd($log); if (!$this->enabled()) { return; } $this->_collector->stop(); }