Skip to content

fix(daemon): handle quit during device selection in process filter#237

Merged
ericdallo merged 1 commit intoemacs-lsp:masterfrom
OrbitalHustler:master
Feb 14, 2026
Merged

fix(daemon): handle quit during device selection in process filter#237
ericdallo merged 1 commit intoemacs-lsp:masterfrom
OrbitalHustler:master

Conversation

@OrbitalHustler
Copy link
Contributor

Quitting the device selection prompt (C-g) during lsp-dart-run causes "error in process filter: Quit" because completing-read runs inside the flutter daemon's process filter callback chain. Wrap jsonrpc-connection-receive in condition-case to catch the quit signal before it escapes the filter.

Copy link
Member

@ericdallo ericdallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@ericdallo ericdallo merged commit 166e4f2 into emacs-lsp:master Feb 14, 2026
12 checks passed
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