Make websocket thread daemon

This commit is contained in:
JonnyWong16 2018-03-14 16:19:22 -07:00
commit 5af1294f71

View file

@ -36,7 +36,9 @@ def start_thread():
# Check for any existing sessions on start up
activity_pinger.check_active_sessions(ws_request=True)
# Start the websocket listener on it's own thread
threading.Thread(target=run).start()
thread = threading.Thread(target=run)
thread.daemon = True
thread.start()
def on_connect():