1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-07-09 11:31:58 +00:00
Steve C 4b3a7fbe16 [tasks] Allow Loop.cancel in Loop.before_loop
Task cancel raises on the next awaited coro, so I've added this 0-sleep "hack"

I'm internally debating if leaving the comment there, but I'm sure it would confuse the uninformed of this trick.
2020-05-10 17:00:23 -04:00
..