-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[process] On Linux, when Theia is closed from the UI, its process is not killed #5644
Comments
Electron? in browser it does not make sense to kill the server. |
Yes exactly, with the electron version. |
I've marked as a bug, but someone needs to verify whether it is a case. @kittaakos ? |
@federicobozzini, was it a bundled electron application or you have started the electron example from the terminal? |
The latter, the electron example run from the terminal. |
Thanks for the update. We have to check whether the same happens with a bundled application too. |
No; it works.
It's not the best for sure, but it works from the bundled application. |
@kittaakos I confirm that it works correctly for bundled Theia on Linux. For some reason https://github.com/theia-ide/theia-apps/tree/master/theia-electron was failing to build for me so I quickly added electron-builder to master of theia and generated AppImage installer. Closing windows in AppImage is killing all Theia processes correclty. I confirm however that this issue exists in development. |
I had memory issues as well. I had to
I experienced the exact same behavior. Thank you for verifying it, @arekzaluski. |
Description
On Linux, when Theia is run from the terminal and the application gets closed by the user from the UI, the Theia process is kept alive.
Ctrl C
is needed to kill the process.Reproduction Steps
Try to compile and run Theia on desktop (on Linux) by using
yarn start
and then click on theX
icon to close the program. The process in the Terminal is not killed.OS and Theia version:
Diagnostics:
Not sure if referred to the main Theia process or to subprocess but this is the output printed when Theia gets closed from the UI:
The text was updated successfully, but these errors were encountered: