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

This commit is contained in:
Rapptz committed 2019-04-25 01:57:32 -04:00
1 parent 6dcd68b8d7
commit 186d9a7f9c
2 files changed
+6 -6

No files matched your search

+1 -1
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: