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(framework) Fix graceful exit of SuperLink #4797

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

panh99
Copy link
Contributor

@panh99 panh99 commented Jan 9, 2025

You may now terminate the SuperLink gracefully with a single Ctrl + C.

For context, the Thread.join() won't terminate the thread; instead, it waits until the thread is terminated. As all our threads are long-running with no stop mechanism, the Thread.join() in the signal handler will be blocking forever.

@panh99 panh99 marked this pull request as ready for review January 9, 2025 09:57
@danieljanes danieljanes enabled auto-merge (squash) January 10, 2025 11:12
@danieljanes danieljanes merged commit 05a61aa into main Jan 10, 2025
55 checks passed
@danieljanes danieljanes deleted the fix-graceful-exit-superlink branch January 10, 2025 11:19
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.

3 participants