From: foamyguy Date: Fri, 20 Jan 2023 22:37:20 +0000 (-0600) Subject: Merge pull request #103 from bablokb/fix-threading X-Git-Tag: 0.10.3 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/commitdiff_plain/045a45ab3008035354eb2bf9d35f00bc25177faf?hp=9e0543eeae360e3c3f577dc552f82fc68b765d80 Merge pull request #103 from bablokb/fix-threading bugfix: prevent reuse of a stopped thread --- diff --git a/displayio/_display.py b/displayio/_display.py index da94fb2..241a0aa 100644 --- a/displayio/_display.py +++ b/displayio/_display.py @@ -394,6 +394,7 @@ class Display: elif not value and self._refresh_thread.is_alive(): # Stop the thread self._refresh_thread.join() + self._refresh_thread = None @property def brightness(self) -> float: