diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index dab4b5ea8..54b872ba3 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -132,6 +132,7 @@ class Loop: """Cancels the internal task, if any are running.""" if self._task: self._task.cancel() + self._task = None def add_exception_type(self, exc): r"""Adds an exception type to be handled during the reconnect logic.