-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Also handle SIGTERM gracefully #2747
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks for the contribution. Do you mind fixing the signoff (DCO) issue? Otherwise, this is looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There also some whitespace issues caught by the linter
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: erling <[email protected]> Signed-off-by: erlingrj <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: erling <[email protected]> Signed-off-by: erlingrj <[email protected]>
Going to merge without windows CI since we keep losing the windows nodes and this PR is low risk. |
@Mergifyio backport gz-sim8 ign-gazebo6 |
✅ Backports have been created
|
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]> Signed-off-by: erling <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> (cherry picked from commit 13bf5be)
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]> Signed-off-by: erling <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> (cherry picked from commit 13bf5be) # Conflicts: # src/cmd/cmdgazebo.rb.in
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]> Signed-off-by: erling <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> (cherry picked from commit 13bf5be)
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]> Signed-off-by: erling <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> (cherry picked from commit 13bf5be) Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Erling Rennemo Jellum Signed-off-by: erlingrj <[email protected]> Signed-off-by: erling <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Ian Chen <[email protected]> (cherry picked from commit 13bf5be)
🦟 Bug fix
Fixes #2738
Summary
As proposed by @azeey, in addition to SIGINT, also catch SIGTERM, which is the default signal sent when trying to stop a process externally.
Checklist
codecheck
passed (See contributing)