Skip to content

NodeJS processes hanging after application force close #57

@mightyt73

Description

@mightyt73

Hello! I am having an issue with a packaged Steam application where I use NodeJs-Unreal. When a user closes the application incorrectly (alt-f4, force close, task manager, etc) it seems the currently running NodeJS processes are moved to the Background Processes in task manager. Steam detects that these are still part of the game execution and causes the Steam client to continue to say that the game is running.

When the user clicks my 'Exit' button, I use a script to kill all the NodeJS processes related to the application so this issue does not occur then.

I don't know if this is an issue or a feature, but it would be nice to be able for those processes to close automatically somehow. I am not super familiar with all of it so my suggestions are probably little value, but a timeout of some sort, or a way to detect that the main process force closed. Or maybe I am doing something incorrectly.

Thank you for all your work so far this code has been great to use!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions