Move activeConnections to Server

This commit is contained in:
2025-08-21 21:55:19 -04:00
parent 9ee23fdc46
commit 5e8fe590c1
8 changed files with 12 additions and 268 deletions

View File

@@ -10,10 +10,6 @@
PERFETTO_TRACK_EVENT_STATIC_STORAGE();
// TODO this should be scoped to a particular Server, and it's definition should
// be in server.cpp or connection.cpp
std::atomic<int> activeConnections{0};
// Global server instance for signal handler access
static Server *g_server = nullptr;