Skip to content

fix: allow Ctrl+C to interrupt hanging lifespan#2752

Closed
theseriff wants to merge 0 commit intoKludex:mainfrom
theseriff:fix/hanging-lifespan
Closed

fix: allow Ctrl+C to interrupt hanging lifespan#2752
theseriff wants to merge 0 commit intoKludex:mainfrom
theseriff:fix/hanging-lifespan

Conversation

@theseriff
Copy link

@theseriff theseriff commented Nov 8, 2025

Summary

This pull request fixes the issue where a hanging lifetime operation would cause the application to become unresponsive to Ctrl+C (SIGINT). Previously, if the startup and shutdown of the lifetime was hanging (for example, due to an infinite loop, deadlock, or a long-running operation), users would need to forcibly terminate the process using kill -9.

Fixes #2751

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

@theseriff theseriff mentioned this pull request Nov 10, 2025
2 tasks
@theseriff theseriff closed this Mar 9, 2026
@theseriff theseriff force-pushed the fix/hanging-lifespan branch from 8da545d to c825f4e Compare March 9, 2026 10:29
@theseriff theseriff deleted the fix/hanging-lifespan branch March 9, 2026 10:30
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.

If the lifetime is frozen, the app will not respond to the Ctrl + C

1 participant