def _background():
"""Main thread function to loop through all displays and update them"""
- for display in displays:
- display._background() # pylint: disable=protected-access
+ while True:
+ for display in displays:
+ display._background() # pylint: disable=protected-access
def release_displays() -> None:
displays.clear()
for display_bus in display_buses:
- display_bus._release() # pylint: disable=protected-access
+ display_bus.deinit()
display_buses.clear()