From f45a950fd5b9653903816261b2e1f2acdca1c588 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Mon, 22 Apr 2019 19:30:49 +0200 Subject: Close websocket connection on shutdown --- wee_slack.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wee_slack.py') diff --git a/wee_slack.py b/wee_slack.py index ff83a44..348e299 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1021,6 +1021,8 @@ def stop_talking_to_slack(): buffer is handled """ EVENTROUTER.shutdown() + for team in EVENTROUTER.teams.values(): + team.ws.shutdown() return w.WEECHAT_RC_OK ##### New Classes -- cgit