Files
lauralorenz ba7605ee7e Add deferred call to ShutdownSandbox to avoid leaks
Between starting the sandbox and adding it to the
sandbox store, there are opportunities for failures
including in any NRI RunPodSandbox prehooks. This defer
is added to that period so if they fail, this function
will try to clean it up itself. If the sandbox is
already added to the persistent store, it will not attempt
to stop the sandbox as it can now be recognized by other
components from the CRI store. ShutdownSandbox is used
instead of StopSandbox as it both stops it and cleans up
all its directories.

Signed-off-by: lauralorenz <lauralorenz@google.com>
2026-06-22 18:02:20 +00:00
..
2025-04-22 20:27:06 +02:00
2024-10-03 00:12:50 +00:00
2025-09-22 15:25:31 +05:30