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

Lower timeout for terminate/disconnect request on nvim exit #1387

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

mfussenegger
Copy link
Owner

Looks like debug adapters like js-debug-adapter take a bit to process
terminate requests. The vim.wait(500, ...) was not enough, leading to
leaked processes.

Lowering the terminate/disconnect request timeout appears to solve the
issue as it leads to the handle getting closed quicker.

Fixes #1352

Looks like debug adapters like js-debug-adapter take a bit to process
terminate requests. The `vim.wait(500, ...)` was not enough, leading to
leaked processes.

Lowering the terminate/disconnect request timeout appears to solve the
issue as it leads to the handle getting closed quicker.

Fixes #1352
@mfussenegger mfussenegger merged commit 6fd05c6 into master Dec 5, 2024
16 checks passed
@mfussenegger mfussenegger deleted the exit-timeout branch December 5, 2024 19:55
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.

node /path/js-debug-adapter.js doesn't die on neovim exit
1 participant