aboutsummaryrefslogtreecommitdiff
path: root/pkg/adapter
diff options
context:
space:
mode:
authorMarco Vedovati <mvedovati@suse.com>2019-06-17 15:14:54 +0200
committerMarco Vedovati <mvedovati@suse.com>2019-06-26 10:17:29 +0200
commit4f56964d556a7379c09a903258fd44c2232a686a (patch)
tree57f2be6e11e5f413122172505c1b7661bae2a5e1 /pkg/adapter
parent6e9b490f5e2c84a903e6cc86440599e3ea7c63d2 (diff)
downloadpodman-4f56964d556a7379c09a903258fd44c2232a686a.tar.gz
podman-4f56964d556a7379c09a903258fd44c2232a686a.tar.bz2
podman-4f56964d556a7379c09a903258fd44c2232a686a.zip
libpod: fix hang on container start and attach
When a container is attached upon start, the WaitGroup counter may never be decremented if an error is raised before start, causing the caller to hang. Synchronize with the start & attach goroutine using a channel, to be able to detect failures before start. Signed-off-by: Marco Vedovati <mvedovati@suse.com>
Diffstat (limited to 'pkg/adapter')
0 files changed, 0 insertions, 0 deletions