Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
@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