mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Make Player threads into daemon threads.
This commit is contained in:
parent
3c04ec2af0
commit
1155a0aaa4
@ -62,6 +62,7 @@ from .errors import ClientException, InvalidArgument
|
||||
class StreamPlayer(threading.Thread):
|
||||
def __init__(self, stream, encoder, connected, player, after, **kwargs):
|
||||
threading.Thread.__init__(self, **kwargs)
|
||||
self.daemon = True
|
||||
self.buff = stream
|
||||
self.frame_size = encoder.frame_size
|
||||
self.player = player
|
||||
|
Loading…
x
Reference in New Issue
Block a user