diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-08-23 15:13:41 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-01-04 09:51:09 -0500 |
commit | 3de560053f4b391c8386554160f61a2a086c1564 (patch) | |
tree | 0903fde38cc39d0b0041643cb8e04a5f2727902f /libpod/runtime_pod_linux.go | |
parent | a364b656eaef1be5329abfd02d3fcd2dbcd37d64 (diff) | |
download | podman-3de560053f4b391c8386554160f61a2a086c1564.tar.gz podman-3de560053f4b391c8386554160f61a2a086c1564.tar.bz2 podman-3de560053f4b391c8386554160f61a2a086c1564.zip |
Convert containers to SHM locking
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/runtime_pod_linux.go')
-rw-r--r-- | libpod/runtime_pod_linux.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/runtime_pod_linux.go b/libpod/runtime_pod_linux.go index 3d6fad52f..95246449a 100644 --- a/libpod/runtime_pod_linux.go +++ b/libpod/runtime_pod_linux.go @@ -239,6 +239,11 @@ func (r *Runtime) removePod(ctx context.Context, p *Pod, removeCtrs, force bool) return err } } + + // Free the container's lock + if err := ctr.lock.Free(); err != nil { + return err + } } // Remove containers from the state |