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

Continue responding to signals after initial sigint #1549

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

mtoohey31
Copy link
Contributor

This merge request fixes a bug where lf stops responding to signals after the first SIGINT.

The existing bug can be reproduced on Linux by:

  1. Launching lf
  2. Sending SIGINT to the lf process
  3. Sending SIGHUP to the lf process

Currently, the second SIGHUP signal is ignored, but lf should exit, as it does it you send it a single SIGHUP before anything else.

After these changes, the subsequent signals after any initial SIGINTs are now respected.

@joelim-work joelim-work merged commit 2a4adb3 into gokcehan:master Dec 16, 2023
4 checks passed
@joelim-work
Copy link
Collaborator

Thank you for the bug fix, much appreciated.

@mtoohey31 mtoohey31 deleted the signal-loop branch December 16, 2023 18:54
@gokcehan gokcehan mentioned this pull request Mar 31, 2024
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