aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-07-25 23:57:57 +0100
committerGravatar GitHub <[email protected]>2022-07-25 22:57:57 +0000
commit9c36ea812da7af116e126054bc9891c0fa44fc49 (patch)
treef24728acdedfb3f6452a22275f6d18f0bb704169 /botcore
parentMerge pull request #110 from python-discord/async-rediscache-bump (diff)
Remove explicit cleanup of the redis session (#111)v8.0.0-beta.4
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()