Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list

This commit is contained in:
Adam Honse
2026-01-14 19:55:24 -06:00
parent f488585724
commit 9ea308e432
7 changed files with 85 additions and 151 deletions

View File

@@ -1355,7 +1355,7 @@ unsigned int cli_pre_detection(int argc, char* argv[])
\*---------------------------------------------------------*/
else if(option == "--client")
{
NetworkClient * client = new NetworkClient(ResourceManager::get()->GetRGBControllers());
NetworkClient * client = new NetworkClient();
std::size_t pos = argument.find(":");
std::string ip = argument.substr(0, pos);