mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-15 16:40:46 +00:00
clears deprecation warning
This commit is contained in:
parent
b3febbe831
commit
d794bd4b78
@ -27,7 +27,7 @@ class Producer(threading.Thread):
|
|||||||
if self._remote.event.ldirty:
|
if self._remote.event.ldirty:
|
||||||
self.queue.put("ldirty")
|
self.queue.put("ldirty")
|
||||||
time.sleep(self._remote.ratelimit)
|
time.sleep(self._remote.ratelimit)
|
||||||
self.logger.debug(f"terminating {self.getName()} thread")
|
self.logger.debug(f"terminating {self.name} thread")
|
||||||
self.queue.put(None)
|
self.queue.put(None)
|
||||||
|
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ class Updater(threading.Thread):
|
|||||||
while True:
|
while True:
|
||||||
event = self.queue.get()
|
event = self.queue.get()
|
||||||
if event is None:
|
if event is None:
|
||||||
self.logger.debug(f"terminating {self.getName()} thread")
|
self.logger.debug(f"terminating {self.name} thread")
|
||||||
break
|
break
|
||||||
|
|
||||||
if event == "pdirty" and self._remote.pdirty:
|
if event == "pdirty" and self._remote.pdirty:
|
||||||
|
Loading…
Reference in New Issue
Block a user