athenad: close websocket before starting next loop iteration (#34085)

explicitly close websocket before starting next loop iteration
pull/34096/head
Dean Lee 7 months ago committed by GitHub
parent 78b6eaea7c
commit 957d39a5b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      system/athena/athenad.py

@ -801,6 +801,8 @@ def main(exit_event: threading.Event = None):
cur_upload_items.clear()
handle_long_poll(ws, exit_event)
ws.close()
except (KeyboardInterrupt, SystemExit):
break
except (ConnectionError, TimeoutError, WebSocketException):

Loading…
Cancel
Save