Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
shim-v2: fix shim leak when hypervisor exit unexpectly
Browse files Browse the repository at this point in the history
Fixes: #1929

in containerd-kata-v2, container can only be deleted in Delete
interface, or other shim operates(like kill/delete) all fails
since can not get container info.

Signed-off-by: Ace-Tang <[email protected]>
  • Loading branch information
Ace-Tang committed Aug 6, 2019
1 parent 00e0aaa commit 2058751
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion containerd-shim-v2/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func watchSandbox(s *service) {
}
}
}
s.containers = make(map[string]*container)

// Existing container/exec will be cleaned up by its waiters.
// No need to send async events here.
Expand Down

0 comments on commit 2058751

Please sign in to comment.