diff --git a/klippy/extras/display/display.py b/klippy/extras/display/display.py index 38a95cf4..d3db32a3 100644 --- a/klippy/extras/display/display.py +++ b/klippy/extras/display/display.py @@ -79,6 +79,7 @@ class DisplayGroup: for row, col, template in self.data_items: text = template.render(context) display.draw_text(row, col, text.replace('\n', ''), eventtime) + context.clear() # Remove circular references for better gc class PrinterLCD: def __init__(self, config):