mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	Remove socket.shutdown and only use socket.close instead.
This commit is contained in:
		| @@ -295,7 +295,6 @@ class VoiceClient: | |||||||
|             return |             return | ||||||
|  |  | ||||||
|         self.keep_alive.cancel() |         self.keep_alive.cancel() | ||||||
|         self.socket.shutdown(socket.SHUT_RDWR) |  | ||||||
|         self.socket.close() |         self.socket.close() | ||||||
|         self._connected.clear() |         self._connected.clear() | ||||||
|         yield from self.ws.close() |         yield from self.ws.close() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user