MINOR: try-finally around super call in http.py
Reviewers: Daniel Gospodinow Ian McDonald Manikumar Reddy
@@ -94,8 +94,9 @@ class HttpMetricsCollector(object):
super(HttpMetricsCollector, self).start_node(node)
def stop(self):
+ try:
super(HttpMetricsCollector, self).stop()
-
+ finally:
if self._http_metrics_thread:
self.logger.debug("Shutting down metrics httpd")
self._httpd.shutdown()
