mediathreads - make players set local to instance.
@@ -133,7 +133,9 @@ class PlayerWorkerThread(MediaThread):
# Time to wait if there are players, but they're all full:
_nap_time = 0.05
- players = set()
+ def __init__(self):
+ super().__init__()
+ self.players = set()
def run(self):
while True:
