-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Job objects in lieu of a shutdown hook on Windows.
Shutdown hooks have bad behavior on Windows. Using Windows Job objects ensure child processes die when the parent process (the NuProcess caller) dies, regardless of the circumstances that caused the JVM running NuProcess died.
- Loading branch information
1 parent
95ce332
commit 508e8f3
Showing
4 changed files
with
425 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.