Stop HistoryMonitor in TerminadoEventHandler.cleanup()

This commit is contained in:
Kristóf Tóth 2018-03-06 13:16:52 +01:00
parent 02bc317009
commit 021a122523

View File

@ -34,3 +34,6 @@ class TerminadoEventHandler(TriggerlessEventHandler):
data['count'] = int(data.get('count', 1))
data['history'] = self.historymonitor.history[-data['count']:]
return data
def cleanup(self):
self.historymonitor.stop()