# Pinegrow nwjs.exe remaining TSR in Windows 10?

**URL:** <https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942>\
**Category:** Bug Reports\
**Tags:** bug\
**Created:** [February 10, 2021, 10:45am UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942 "2021-02-10T10:45:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamGill](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@AdamGill](https://forum.pinegrow.com/u/AdamGill)\
**Post date:** [February 10, 2021, 10:45am UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/1 "2021-02-10T10:45:29Z")

</div>

Windows 10: Every time I close Pinegrow gracefully at least 3 nwjs.exe modules remain open, using up to 25% CPU until I kill the processes in Task Manager.

Am I missing a setting where I can completely shut down Pinegrow AND any JS modules that may be open, on Exit?

Thanks,  
Adam

---

<div class="post-metadata">

**Author:** ![ehigiepaul](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/ehigiepaul/32/2339_2.png) [@ehigiepaul](https://forum.pinegrow.com/u/ehigiepaul)\
**Post date:** [February 10, 2021, 8:28pm UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/2 "2021-02-10T20:28:09Z")

</div>

Noticed the same thing but is not always.

---

<div class="post-metadata">

**Author:** ![Eike](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@Eike](https://forum.pinegrow.com/u/Eike)\
**Post date:** [June 1, 2021, 7:47pm UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/3 "2021-06-01T19:47:42Z")

</div>

Did you find a solution for this?

---

<div class="post-metadata">

**Author:** ![AdamGill](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@AdamGill](https://forum.pinegrow.com/u/AdamGill)\
**Post date:** [June 1, 2021, 8:58pm UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/4 "2021-06-01T20:58:56Z")

</div>

Perhaps - using “X” to close the App is probably not the exact same process as File\>Quit. If I use the “X” to Exit, nwjs.exe seems to remain open in the background - but if I use File\>Quit then nwjs.exe doesn’t seem to run in the background, But it is not 100% all the time. I think it might also be something to do with “Previewing a Page in your Browser”. I think, if you do that, it spawns a process which remains open when you exit. These are just guesses, based on what I have observed…

---

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [June 2, 2021, 6:40am UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/5 "2021-06-02T06:40:26Z")

</div>

I have encountered this, but when it happens for you and you have Pinegrow open again, does it show any error warning message.

For me, when it happens, Pinegrow picks the next available port (40001) and this breaks the live sync with VS code (via the vs-code pinegrow plugin which expects to talk with 40000)…

Hard to reproduce, as this happens randomly, would be good if Pinegrow team can look into it.

---

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [June 2, 2021, 9:18am UTC](https://forum.pinegrow.com/t/pinegrow-nwjs-exe-remaining-tsr-in-windows-10/4942/6 "2021-06-02T09:18:29Z")

</div>

What I usually do is exit Pinegrow, then run this in Terminal (I’m on a mac):  
`lsof -i -P -n | grep LISTEN`

and kill the redundant one… and then re-open Pinegrow.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/ad2b5e7eec6e1ccb640dee65227b5bf4e395d91d.png)
