mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 19:41:32 +00:00
Stop HistoryMonitor in TerminadoEventHandler.cleanup()
This commit is contained in:
parent
02bc317009
commit
021a122523
@ -34,3 +34,6 @@ class TerminadoEventHandler(TriggerlessEventHandler):
|
|||||||
data['count'] = int(data.get('count', 1))
|
data['count'] = int(data.get('count', 1))
|
||||||
data['history'] = self.historymonitor.history[-data['count']:]
|
data['history'] = self.historymonitor.history[-data['count']:]
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
def cleanup(self):
|
||||||
|
self.historymonitor.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user