Skip to content

Shouldn't _has_failed variable in discord.ext.tasks.Loop not be reset after a coro exception ? #6590

Answered by Rapptz
nmarotte asked this question in General
Discussion options

You must be logged in to vote

You're misreading the code.

The outer finally (outside of the while True) resets the state of the loop class so it can be reused.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants