Raxol.Core.Runtime.Plugins.PluginUnloader (Raxol v2.0.1)

View Source

Handles unloading of plugins, including command and state cleanup.

Summary

Functions

cleanup_plugin_state(plugin_id, metadata, states, command_table)

Cleans up plugin state and metadata.

handle_unload_error(reason, plugin_id)

Handles unload errors.

unload_plugin(plugin_id, metadata, config, states, command_table, opts)

Unloads a plugin, cleaning up commands and state.

unregister_plugin_commands(plugin_id, command_table)

Unregisters plugin commands.