mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-03-04 04:58:46 +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.