mirror of
https://github.com/apple/container.git
synced 2026-09-10 17:55:38 +00:00
Improves https://github.com/apple/containerization/pull/245. A potential deadlock risk was not proven. This PR moves the closing operation inside the lock to prevent leaking an unclosed handle in case of an error.