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

Method ReleaseAllPlugins

src/render/plugins/plugin_manager.cpp:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 }
180
181 void PluginManager::ReleaseAllPlugins() {
182 for (const auto& [k, plugin] : plugins_) {
183 plugin->OnStop();
184 plugin->OnDestroy();
185 }
186 plugins_.clear();
187 }
188
189 void PluginManager::ReleasePlugin(const std::string &name) {
190

Callers

nothing calls this directly

Calls 2

OnStopMethod · 0.45
OnDestroyMethod · 0.45

Tested by

no test coverage detected