()
| 2862 | |
| 2863 | @socketio.on("disconnect") |
| 2864 | def handle_disconnect(): |
| 2865 | connected_clients.discard(request.sid) |
| 2866 | if log_manager: |
| 2867 | log_manager.unsubscribe(request.sid) |
| 2868 | # If no clients connected and auto-close is enabled, shutdown |
| 2869 | if not connected_clients and args.auto_close: |
| 2870 | trigger_shutdown("No clients connected, shutting down...") |
| 2871 | |
| 2872 | |
| 2873 | @socketio.on("request_full_state") |
nothing calls this directly
no test coverage detected