diff options
| author | Rapptz <[email protected]> | 2016-05-11 21:36:27 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-05-12 06:06:38 -0400 |
| commit | 1155a0aaa415ea96b83c6efd204aa74992e4c524 (patch) | |
| tree | 0ca740da58af900e1b7a22a350c4122bb89ff58e | |
| parent | Add a way to change the player volume. (diff) | |
| download | discord.py-1155a0aaa415ea96b83c6efd204aa74992e4c524.tar.xz discord.py-1155a0aaa415ea96b83c6efd204aa74992e4c524.zip | |
Make Player threads into daemon threads.
| -rw-r--r-- | discord/voice_client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index 21c96405..20766aec 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -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 |