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

nwjs Helper(renderer) not be killed if the nwjs app is forced quited by crash #7723

Open
Guocover opened this issue May 7, 2021 · 1 comment

Comments

@Guocover
Copy link

Guocover commented May 7, 2021

NWJS Version : 0.47+ and above can be reproduced
Operating System : macOs 11.2.3

Expected behavior

nwjs Helper(renderer) should be killed if the nwjs app is forced quited by crash

Actual behavior

some User feedback that our app will residual processes, this processes take up a lot of cpu and memory
image

How to reproduce

crash.zip
there is a demo, In the beginning, the process was like this
image

and click the crash button will call nw.App.crashBrowser() to mock crash behavior
image

now the the process was like this
image

@Guocover Guocover changed the title nwjs Helper(renderer) tasks continue running if nwjs app freezes and is forced quite on mac os. nwjs Helper(renderer) not be killed if the nwjs app is forced quited by crash May 7, 2021
@zoswing
Copy link

zoswing commented Jul 25, 2022

解决了么老哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants