Can't reproduce: previewed 10 times alternating preview and debug and it worked fine.
Besides it would be a NW.js issue if it left behind a process, the C2 engine doesn't control that and I doubt there is anything we can change in our code to influence that. It's probably better to head straight to the NWjs bug tracker for this kind of issue.