mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-04 08:55:36 -05:00
5a7ab3c12e
The way flask-socketio stops a connection when running using eventlet is by raising SystemExit to abort all the processes. Hence the connections are closed and no response is returned So I am just catching the ConnectionError to check if it was chat mode, in which case it's okay.