Terminating Preinitialized Environments for Authorized Programs

CELAAUTH begins to clean up the environment when it receives a termination call. For user-managed environments, resources related to the specific environment that provided a token are freed. For system-managed environments, all existing environments are cleaned up. When the last environment is ended, CELAAUTH cleans any remaining tasks and resources that were obtained to manage the environments.