Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shimv2: fix the issue of leaking wait goroutines
After create an container/exec successfully, containerd would wait it immediately, and if start it failed, there is no chance to send value to exitCh, thus the wait goroutine would blocked for ever and had no chance to exit. Fixes: #2087 Signed-off-by: fupan.lfp <fupan.lfp@antgroup.com>
- Loading branch information
fupan.lfp
committed
Jun 23, 2021
1 parent
c0cc6d5
commit b3623a2
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters