MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / cleanup

Method cleanup

pager/pager_display.py:1319–1327  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1317 self.cleanup()
1318
1319 def cleanup(self):
1320 try:
1321 logger.info("Cleaning up pager display...")
1322 self.pager.led_all_off()
1323 self.pager.clear(self.BLACK)
1324 self.pager.flip()
1325 self.pager.cleanup()
1326 except Exception as e:
1327 logger.error(f"Error during cleanup: {e}")
1328
1329
1330def handle_exit_pager_display(signum, frame, display_instance=None, exit_process=True):

Callers 6

run_testsFunction · 0.95
handle_input_loopMethod · 0.95
runMethod · 0.95
run_testsFunction · 0.95
pager_display.pyFile · 0.45

Calls 5

infoMethod · 0.80
errorMethod · 0.80
led_all_offMethod · 0.45
clearMethod · 0.45
flipMethod · 0.45

Tested by 2

run_testsFunction · 0.76
run_testsFunction · 0.76