From 3de560053f4b391c8386554160f61a2a086c1564 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 23 Aug 2018 15:13:41 -0400 Subject: Convert containers to SHM locking Signed-off-by: Matthew Heon --- libpod/runtime_pod_linux.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpod/runtime_pod_linux.go') 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 -- cgit v1.2.3-54-g00ecf