| 26 | } |
| 27 | |
| 28 | void wf::plugin_manager_t::deinit_plugins(bool unloadable) |
| 29 | { |
| 30 | for (auto& [name, plugin] : loaded_plugins) |
| 31 | { |
| 32 | if (!plugin.instance) |
| 33 | { |
| 34 | continue; |
| 35 | } |
| 36 | |
| 37 | if (plugin.instance->is_unloadable() == unloadable) |
| 38 | { |
| 39 | destroy_plugin(plugin); |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | wf::plugin_manager_t::~plugin_manager_t() |
| 45 | { |
nothing calls this directly
no test coverage detected