fix prometheus teardown

This commit is contained in:
Jack Robison 2022-03-22 21:57:58 -04:00
parent 5e2d5e98b3
commit c6e5c92765
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -100,6 +100,7 @@ class HubServerService(BlockchainReaderService):
yield self.start_cancellable(self.session_manager.serve, self.mempool)
def _iter_stop_tasks(self):
yield self.stop_prometheus()
yield self.status_server.stop()
yield self._stop_cancellable_tasks()
yield self.session_manager.search_index.stop()