mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 07:17:27 -04:00
Rework network client callback pipeline - route callbacks from clients through ResourceManager so that device list callbacks get called. Fixes remote devices not showing up in plugins.
This commit is contained in:
1 parent
94370c24a8
commit
d88f9979a9
8 files changed
+81
-56
No files matched your search
@@ -45,6 +45,12 @@ NetworkClient::~NetworkClient()
|
||||
StopClient();
|
||||
}
|
||||
|
||||
void NetworkClient::ClearCallbacks()
|
||||
{
|
||||
ClientInfoChangeCallbacks.clear();
|
||||
ClientInfoChangeCallbackArgs.clear();
|
||||
}
|
||||
|
||||
void NetworkClient::ClientInfoChanged()
|
||||
{
|
||||
ClientInfoChangeMutex.lock();
|
||||
|
||||
Reference in new issue
Block a user