Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.75k stars 462 forks source link

fix: prevent unclosed client session / unclosed connector #2618

Closed honzajavorek closed 1 month ago

honzajavorek commented 1 month ago

Summary

Fixes https://github.com/Pycord-Development/pycord/issues/2399. Takes inspiration from https://github.com/Rapptz/discord.py/pull/1967.

Information

Checklist