fix regression in observable thread.

patch bump
This commit is contained in:
onyx-and-iris
2022-07-06 14:27:34 +01:00
parent 9af2fc98aa
commit d12e67820f
2 changed files with 3 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class Remote(CBindings):
self.cache = {}
self.subject = Subject()
self.strip_mode = 0
self.running = True
self.running = None
for attr, val in kwargs.items():
setattr(self, attr, val)
@@ -39,6 +39,7 @@ class Remote(CBindings):
def init_thread(self):
"""Starts updates thread."""
self.running = True
t = Thread(target=self._updates, daemon=True)
t.start()