MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / ProcessCommandDisablePlugin

Method ProcessCommandDisablePlugin

src/render/network/ws_panel_client.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 }
270
271 void WsPanelClient::ProcessCommandDisablePlugin(const std::string& plugin_id) {
272 plugin_mgr_->VisitAllPlugins([&](GrPluginInterface* plugin) {
273 if (plugin_id == plugin->GetPluginId()) {
274 LOGI("Disable plugin: {}", plugin->GetPluginName());
275 plugin->DisablePlugin();
276 }
277 });
278 }
279
280}

Callers

nothing calls this directly

Calls 4

VisitAllPluginsMethod · 0.45
GetPluginIdMethod · 0.45
GetPluginNameMethod · 0.45
DisablePluginMethod · 0.45

Tested by

no test coverage detected