Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Make sure exec process is killed when context is canceled.#1156

Merged
mikebrow merged 1 commit intocontainerd:masterfrom
Random-Liu:make-sure-exec-kill
May 29, 2019
Merged

Make sure exec process is killed when context is canceled.#1156
mikebrow merged 1 commit intocontainerd:masterfrom
Random-Liu:make-sure-exec-kill

Conversation

@Random-Liu
Copy link
Member

When context is cancelled, the process.Kill won't work. We need to kill the process in the cleanup defer.

Signed-off-by: Lantao Liu lantaol@google.com

Signed-off-by: Lantao Liu <lantaol@google.com>
@jterry75
Copy link
Contributor

LGTM

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@mikebrow mikebrow merged commit eb67aa5 into containerd:master May 29, 2019
@Random-Liu Random-Liu deleted the make-sure-exec-kill branch June 7, 2019 22:36
@Random-Liu Random-Liu added this to the v1.2 milestone Jun 7, 2019
mikebrow added a commit that referenced this pull request Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants