mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-22 10:24:56 -04:00
Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list
This commit is contained in:
1 parent
fe4ca34528
commit
92f397544b
7 files changed
+85
-151
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user