mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
[tasks] Reset iteration count when loop terminates.
This commit is contained in:
parent
8c353a5596
commit
bcdecd4e07
@ -86,6 +86,7 @@ class Loop:
|
||||
finally:
|
||||
await self._call_loop_function('after_loop')
|
||||
self._is_being_cancelled = False
|
||||
self._current_loop = 0
|
||||
|
||||
def __get__(self, obj, objtype):
|
||||
if obj is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user