Skip to content
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

Cleanup map and console after controlling terminal dies #739

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

araneg
Copy link
Contributor

@araneg araneg commented Mar 11, 2020

MAVProxy currently doesn't kill its map and console when the controlling tty dies. I suspect this is because multiple SIGHUPs are sent. You can test this behavior by executing mavproxy.py in xterm (xterm -hold -e mavproxy.py --map --console) and then killing the xterm process itself. You could also run mavproxy.py in a tmux pane and kill the pane.

Also, this fixes the map and console persisting when the main mavproxy.py has its input stream closed via ^D.

@tridge tridge merged commit 041dda2 into ArduPilot:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants