mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 02:00:52 +01:00
A live host's close marked itself closed as soon as its other resources shut down, even when the sandbox delete-authority claim release itself then threw. A retried close saw the host already closed and returned early, so the claim was never released again: the marker stayed pinned to this admission forever, even though every real resource had already shut down cleanly. Mark the host closed only once the release itself also succeeds, so a retried close still reaches it. Co-authored-by: Paperclip <noreply@paperclip.ing>