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 tach server startup by unifying ctrlc interrupts #536

Merged
merged 5 commits into from
Jan 13, 2025
Merged

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Jan 12, 2025

This PR fixes tach server, which started failing after fixing the Ctrl + C behavior in tach sync/check.

The failure happened because we initialized a new ctrlc handler on initialization of the extension module, and then tried to initialize another handler when running the LSP server. Only one is allowed.

This PR extends our 'interrupt' module to provide access to an interrupt channel, so that the LSP server can receive an interrupt from the same ctrlc handler, even when idle.

@emdoyle emdoyle merged commit 41fe6ff into main Jan 13, 2025
7 checks passed
@emdoyle emdoyle deleted the fix-tach-server branch January 13, 2025 04:41
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.

1 participant