mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-21 15:02:48 +00:00
This should prevent asyncio.CancelledError from being propagated more and suppressed "Task was destroyed but was pending!" warnings when doing graceful closes outside of using a KeyboardInterrupt. To make clean up a bit more robust, also add signal handlers for POSIX systems.