| 402 | } |
| 403 | |
| 404 | void 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 | |
| 419 | bool PluginManager::DropFile(const wxString &fileName) |
| 420 | { |
no test coverage detected