aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-07-25 23:57:57 +0100
committerGravatar Chris Lovering <[email protected]>2022-07-27 18:19:32 +0100
commit2f7e059df4a91afb5fc686bc99e90f7baf8b1abd (patch)
treee9f8d05809cab3c29071e7fabb7a30d2ef614bd6 /botcore
parentBump async-rediscache to v1.0.0-rc2 (diff)
Remove explicit cleanup of the redis session (#111)
Diffstat (limited to 'botcore')
-rw-r--r--botcore/_bot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/botcore/_bot.py b/botcore/_bot.py
index e3d9aac3..bb25c0b5 100644
--- a/botcore/_bot.py
+++ b/botcore/_bot.py
@@ -284,8 +284,5 @@ class BotBase(commands.Bot):
if getattr(self.stats, "_transport", False):
self.stats._transport.close()
- if getattr(self, "redis_session", False):
- await self.redis_session.close()
-
if self._statsd_timerhandle:
self._statsd_timerhandle.cancel()