From 186d9a7f9cb8b28678893bd32ec6f823e5090d78 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 25 Apr 2019 01:57:32 -0400 Subject: Use a regular boolean instead of asyncio.Event for close status. --- discord/shard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/shard.py') diff --git a/discord/shard.py b/discord/shard.py index b15b22a2..a5f5f541 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -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: -- cgit v1.2.3