Overrides MetricReaderInterface::shutdown
public function shutdown() : bool { if ($this->closed) { return false; } $this->closed = true; $collect = $this->doCollect(); $shutdown = $this->exporter ->shutdown(); $this->sources = []; return $collect && $shutdown; }