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

Fix the Kill button killing libTAS itself #424

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

jakobrs
Copy link
Contributor

@jakobrs jakobrs commented Jul 6, 2021

When the game is closed, context->game_pid is set to 0. Pressing the kill button again will call kill(0, SIGKILL), which has the effect of killing the current process.

@clementgallet clementgallet merged commit f631ee8 into clementgallet:master Jul 19, 2021
@jakobrs jakobrs deleted the kill-button-patch branch July 20, 2021 10:54
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.

2 participants