mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Remove socket.shutdown and only use socket.close instead.
This commit is contained in:
parent
c4e6a53dfe
commit
f55d82146e
@ -295,7 +295,6 @@ class VoiceClient:
|
||||
return
|
||||
|
||||
self.keep_alive.cancel()
|
||||
self.socket.shutdown(socket.SHUT_RDWR)
|
||||
self.socket.close()
|
||||
self._connected.clear()
|
||||
yield from self.ws.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user