aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slack/slack_workspace.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/slack/slack_workspace.py b/slack/slack_workspace.py
index 145a008..e869de7 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -637,6 +637,7 @@ class SlackWorkspace:
if self._connect_task:
self._connect_task.cancel()
+ self._connect_task = None
if self._hook_ws_fd:
weechat.unhook(self._hook_ws_fd)