MCPcopy Create free account
hub / github.com/audacity/audacity / Terminate

Method Terminate

libraries/lib-module-manager/PluginManager.cpp:404–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void PluginManager::Terminate()
405{
406 // Get rid of all non-module(effects?) plugins first
407 for(auto& p : mRegisteredPlugins)
408 {
409 auto& desc = p.second;
410 if(desc.GetPluginType() == PluginTypeEffect)
411 mLoadedInterfaces.erase(desc.GetID());
412 }
413
414 // Now get rid of others
415 mRegisteredPlugins.clear();
416 mLoadedInterfaces.clear();
417}
418
419bool PluginManager::DropFile(const wxString &fileName)
420{

Callers 1

Calls 3

GetPluginTypeMethod · 0.80
GetIDMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected