From 021a1225234d5bf44b7cc8856ff2874e6c19815d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 6 Mar 2018 13:16:52 +0100 Subject: [PATCH] Stop HistoryMonitor in TerminadoEventHandler.cleanup() --- lib/tfw/components/terminado_event_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tfw/components/terminado_event_handler.py b/lib/tfw/components/terminado_event_handler.py index e6fa2cd..756d4db 100644 --- a/lib/tfw/components/terminado_event_handler.py +++ b/lib/tfw/components/terminado_event_handler.py @@ -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()