DescriptionAdd comments and fix a potential leak in LaunchProcess.
I found a need to look at the implementation to confirm that process_handle would never be assigned to if the call failed. So I added a comment for future readers.
While doing so, I found an edge case where I think the process handle could be leaked.
BUG=None
TEST=Ask a random developer whether they must check process_handle if LaunchProcess returns false. If they look at process_util_*.cc, fail.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126890
Patch Set 1 #Patch Set 2 : Missing matching call to CloseHandle(hThread) #
Messages
Total messages: 10 (0 generated)
|