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

Method cleanup

pager/pagerctl.py:303–307  ·  view source on GitHub ↗

Clean up and release hardware. Always call on exit.

(self)

Source from the content-addressed store, hash-verified

301 return result
302
303 def cleanup(self):
304 """Clean up and release hardware. Always call on exit."""
305 if self._initialized:
306 _lib.pager_cleanup()
307 self._initialized = False
308
309 # Rotation
310 def set_rotation(self, rotation):

Callers 5

__exit__Method · 0.95
module_exitMethod · 0.45
module_exitMethod · 0.45
showFunction · 0.45
suspendFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected