MCPcopy Create free account
hub / github.com/Atarity/Lightpack / dropPlugins

Method dropPlugins

Software/src/PluginsManager.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void PluginsManager::dropPlugins(){
22 DEBUG_LOW_LEVEL << Q_FUNC_INFO;
23 //cleanAll();
24 for(QMap<QString, Plugin*>::iterator it = _plugins.begin(); it != _plugins.end(); ++it){
25 Plugin* p = it.value();
26 QString name = p->Name();
27 p->Stop();
28 delete p;
29 }
30 _plugins.clear();
31}
32
33void PluginsManager::reloadPlugins(){
34 DEBUG_LOW_LEVEL << Q_FUNC_INFO;

Callers

nothing calls this directly

Calls 4

valueMethod · 0.80
NameMethod · 0.80
StopMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected