mirror of
https://github.com/apple/container.git
synced 2026-09-11 18:25:41 +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.