mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-13 05:01:23 -05:00
![Saptak S](/assets/img/avatar_default.png)
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.