Process termination

Process termination occurs after enclave termination. Process termination returns to the creator of the process. The resources allocated on behalf of the process are released. Language Environment explicitly relinquishes all resources that were obtained by Language Environment. Routines that obtain resources directly from the host system (such as opening a DCB) need to explicitly relinquish the resource, because Language Environment does not have any knowledge of its acquisition.