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

@ -1,6 +1,6 @@
[tool.poetry]
name = "voicemeeter-api"
version = "0.2.0"
version = "0.2.1"
description = "A Python wrapper for the Voiceemeter API"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT"

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()