Title: `Processing lsp` never exits and leaves orphaned processes · Issue #1578 · processing/processing4 · GitHub
Open Graph Title: `Processing lsp` never exits and leaves orphaned processes · Issue #1578 · processing/processing4
X Title: `Processing lsp` never exits and leaves orphaned processes · Issue #1578 · processing/processing4
Description: Most appropriate sub-area of Processing 4? Other (specify if possible) Processing version processing-4.5.7-1435 (AUR processing-bin) Operating system Arch Linux x86_64 Bug description The LSP server never terminates when the client goes ...
Open Graph Description: Most appropriate sub-area of Processing 4? Other (specify if possible) Processing version processing-4.5.7-1435 (AUR processing-bin) Operating system Arch Linux x86_64 Bug description The LSP serve...
X Description: Most appropriate sub-area of Processing 4? Other (specify if possible) Processing version processing-4.5.7-1435 (AUR processing-bin) Operating system Arch Linux x86_64 Bug description The LSP serve...
Opengraph URL: https://github.com/processing/processing4/issues/1578
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Processing lsp` never exits and leaves orphaned processes","articleBody":"### Most appropriate sub-area of Processing 4?\n\nOther (specify if possible)\n\n### Processing version\n\nprocessing-4.5.7-1435 (AUR processing-bin)\n\n### Operating system\n\nArch Linux x86_64\n\n### Bug description\n\nThe LSP server never terminates when the client goes away. This way, after closing Visual Studio Code with official Processing extension via File > Exit (or Ctrl+Q), the Processing LSP process is left running. The process also survives abrupt client death, since nothing on the server side reacts to the client disappearing.\n\n### Steps to reproduce this\n\n1. Install Processing 4.5.7 and the official Processing Visual Studio Code extension.\n2. Open Visual Studio Code\n3. Open PDE file in Visual Studio Code\n4. Quit Visual Studio Code with File > Exit (Ctrl+Q).\n5. Run: `pgrep -af 'Processing lsp'`\n6. The process is still running.\n### snippet\n\n_No response_\n\n### Additional context\n\n`PdeLanguageServer.exit()` only [prints a line](https://github.com/processing/processing4/blob/ca3999abed94d84764370f120daaaaf9f0a77ae8/java/src/processing/mode/java/lsp/PdeLanguageServer.java#L33) and never calls `System.exit()`. `PdeLanguageServer.main()` also ignores the future returned by `launcher.startListening()`, so nothing happens when stdin reaches EOF. As a result, nothing in the server can end the LSP process when the client disappears.\n\n### Would you like to work on the issue?\n\nYes, I’d like to help with this","author":{"url":"https://github.com/overcast302","@type":"Person","name":"overcast302"},"datePublished":"2026-10-10T06:18:33Z","url":"https://github.com/processing/processing4/issues/1578"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:95e6dad4-389a-e5ab-1fac-17e006265daf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D526:BEEB4:127DF9:1886EC:6B05F794 |
| html-safe-nonce | 982e824d9631620b2cb688ba57ad1a09bb8ba70b09d7692a18c96c528e15dc1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTI2OkJFRUI0OjEyN0RGOToxODg2RUM6NkIwNUY3OTQiLCJ2aXNpdG9yX2lkIjoiODI0NTc1NTQxMzg0NTYzNzAxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f43571b5d25aa5a3f4f91ffec9bf3ae19da86e9abcb0dc38ea9400012f137890 |
| hovercard-subject-tag | issue:5788731658 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1578/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5222de4567f46f5faf06883ae6e01dec56bbf0591d492579488831f989529992/processing/processing4/issues/1578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5222de4567f46f5faf06883ae6e01dec56bbf0591d492579488831f989529992/processing/processing4/issues/1578 |
| og:image:alt | Most appropriate sub-area of Processing 4? Other (specify if possible) Processing version processing-4.5.7-1435 (AUR processing-bin) Operating system Arch Linux x86_64 Bug description The LSP serve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | overcast302 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width