Use a regular boolean instead of asyncio.Event for close status.

This commit is contained in:
Rapptz
2019-04-25 01:57:32 -04:00
parent 6dcd68b8d7
commit 186d9a7f9c
2 changed files with 6 additions and 6 deletions

View File

@ -280,7 +280,7 @@ class AutoShardedClient(Client):
if self.is_closed():
return
self._closed.set()
self._closed = True
for vc in self.voice_clients:
try: