Raxol.Core.Runtime.Lifecycle.Shutdown (Raxol v2.6.0)

View Source

Shutdown, cleanup, and registry management helpers for Lifecycle. Extracted from Lifecycle to reduce file size.

Summary

Functions

Cleans up the PluginManager if it is still alive.

Deletes the command registry ETS table if it exists.

Stops a supervised process by PID; no-ops on nil or dead processes.

Functions

cleanup_plugin_manager(arg1, state)

Cleans up the PluginManager if it is still alive.

cleanup_registry_table(arg1, state)

Deletes the command registry ETS table if it exists.

stop_process(pid, label)

Stops a supervised process by PID; no-ops on nil or dead processes.