mirror of
https://github.com/containers/podman.git
synced 2025-12-06 21:57:50 +08:00
StartAndAttach() runs start() in a goroutine, which can allow it to fire after the caller returns - and thus, after the defer to unlock the container lock has fired. The start() call _must_ occur while the container is locked, or else state inconsistencies may occur. Fixes #3114 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
4.3 KiB
4.3 KiB