Skip to content

Conversation

@the-Drunken-coder
Copy link

Fixes a thread-safety issue in the UI endpoint /api/connections by removing direct iteration over context->connections under stats_mutex.
Adds a small network API (deadlight_network_snapshot_connections) that snapshots current connections under the network module’s connection_mutex.
Updates UI to build the JSON response from the snapshot after the lock is released (same output fields/types as before).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant