Fix broken HTTPClient.recreate code to actually clear session

This commit is contained in:
Rapptz
2022-05-05 11:42:50 -04:00
parent 0502c6a0d2
commit 1df3ed861c
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -666,7 +666,7 @@ class Client:
self._closed = False
self._ready.clear()
self._connection.clear()
self.http.recreate()
self.http.clear()
async def start(self, token: str, *, reconnect: bool = True) -> None:
"""|coro|