diff --git a/sandboxdata.go b/sandboxdata.go index 76a538d..6b217a8 100644 --- a/sandboxdata.go +++ b/sandboxdata.go @@ -228,7 +228,6 @@ func (c *controller) LeaveAll(id string) error { c.Unlock() if !ok { - c.Unlock() return fmt.Errorf("could not find sandbox for container id %s", id) }