Created
January 18, 2019 01:25
-
-
Save peta909/f17c2b28501ea0d10abf59ea4c177e1c to your computer and use it in GitHub Desktop.
Close Handles
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
CloseHandle(pi.hProcess);//Handles must be explicitly closed if not parent process will hold on to it even if child process is terminated. | |
CloseHandle(pi.hThread); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment