pub fn unload(&mut self) {
        for mut plugin in self.plugins.drain(..) {
            info!("Unloading plugin for {:?}", plugin.name());
            plugin.on_unload();
        }

        for lib in self.libs.drain(..) {
            drop(lib);
        }
    }
/// Unload all plugins and loaded plugin libraries, making sure to fire
/// their `on_plugin_unload()` methods so they can do any necessary cleanup.
Unload all plugins and loaded plugin libraries, making sure to fire
their `on_plugin_unload()` methods so they can do any necessary cleanup.
Unload all plugins and loaded plugin libraries making sure to fire their ` on_plugin_unload () ` methods so they can do any necessary cleanup .
pub fn unload(&mut self) {
        for mut plugin in self.plugins.drain(..) {
            info!("Unloading plugin for {:?}", plugin.name());
            plugin.on_unload();
        }
        for lib in self.libs.drain(..) {
            drop(lib);
        }
    }
pub fn unload ( & mut self ) { for mut plugin in self . plugins . drain ( .. ) { info ! ( " " plugin name ( ) ) ; plugin . on_unload ( ) ; } for lib in self . libs . drain ( .. ) { drop ( lib ) ; } }
Unload all plugins and loaded plugin libraries, making sure to fire
their `on_plugin_unload()` methods so they can do any necessary cleanup.
Unload all plugins and loaded plugin libraries making sure to fire their ` on_plugin_unload () ` methods so they can do any necessary cleanup .
&mut self