Skip to main content

shutdown_package_runtime_checked

Function shutdown_package_runtime_checked 

Source
pub async fn shutdown_package_runtime_checked(
    atlas_endpoint: Option<&str>,
    record: &PackageRuntimeRecord,
    term_wait: Duration,
    boot_id: Option<&str>,
) -> bool
Expand description

Checked variant used by persisted boot-state teardown. A boot id is inherited by every wrapper and provider through RBNX_BOOT_ID; requiring a matching process in the recorded PGID prevents a stale state file from killing an unrelated process group after PID/PGID reuse.