Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Use signal and sys.exit to fix shutdown in joint_state_publisher #139

Merged
merged 1 commit into from
Jun 9, 2016

Conversation

jacquelinekay
Copy link
Contributor

@vincentrou I think this fixes the shutdown problem. Feel free to take a look and test it. If you think it looks good I will close your PR in favor of this one.

(As a side note, I noticed while I was testing this that "Randomize" and "Center" buttons are just broken on Xenial/Qt5. I will take a look at that next.)

The solution is based on this Stack Overflow question:
http://stackoverflow.com/questions/2300401/qapplication-how-to-shutdown-gracefully-on-ctrl-c

@vincentrou
Copy link
Contributor

Yes it works fine now ! Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants