Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: opencontainers#1228 It can be reproduced by applying this patch: ```diff @@ -45,6 +46,7 @@ func registerMemoryEvent(cgDir string, evName string, arg string) (<-chan struct go func() { defer func() { close(ch) + <-time.After(1 * time.Second) eventfd.Close() evFile.Close() }() ``` We can close channel after fds were closed. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
- Loading branch information