MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / UnregisterPlugin

Method UnregisterPlugin

NetworkServer.cpp:1163–1173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161}
1162
1163void NetworkServer::UnregisterPlugin(std::string plugin_name)
1164{
1165 for(std::vector<NetworkPlugin>::iterator it = plugins.begin(); it != plugins.end(); it++)
1166 {
1167 if(it->name == plugin_name)
1168 {
1169 plugins.erase(it);
1170 break;
1171 }
1172 }
1173}

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected