-
Notifications
You must be signed in to change notification settings - Fork 32
Tons of stale Yangster Helper processes run after quitting the application #17
Comments
This can be reproduced easily. Start the Yangster application. One can see that there is the main process with four helpers: After terminating the Yangster application with Cmd+Q on OS X. There are two stale processes: As of my first guess, it could be related to the issue we load the |
The sample of one of the processes. The first one does not have a parent process.
And the second one, which is the child process of the previous one:
|
Just to make sure, I try to reproduce it on another Mac too. |
Confirmed. Same issue on 10.13.1, MacOS High Sierra. |
I am still just blindly guessing though, I have compared the processes that load the
|
It seems the Before termination:
After termination:
|
That seems to be correct; the outstanding question is instead the following: why does the process forked from the |
Got it working locally by modifying the generated code. I need to open a follow-up in Theia. |
Just curious does the fix work on windows too ? (not sure what the fix is ? like to PR ? ) Would it also fix the issue when the backend doesn't stop on ctrl-c on windows? |
I have not had the chance to try it yet. I will update this thread once I have checked the behavior. |
For the sake of simplicity, I will modify the generated code after the generation phase so that electron-builder can pick up and we can try it out in the Yangster application. |
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
No. |
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Although it does not affect the CPU, it would be nice to terminate the process:
The text was updated successfully, but these errors were encountered: