diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-10 11:16:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-06-14 11:40:27 -0400 |
commit | 34f8723dc784142b30d92bbbdeb37089ae7a3bc5 (patch) | |
tree | d3b61e791a0a130cf5cfc7a9d91d1d7d5ac6a2ce /src/common/compat.c | |
parent | f8344c2d28be2489c8abadd694b5b96fe18efc02 (diff) | |
download | tor-34f8723dc784142b30d92bbbdeb37089ae7a3bc5.tar.gz tor-34f8723dc784142b30d92bbbdeb37089ae7a3bc5.zip |
On Windows, terminate processes by handle, not pid
When we create a process yourself with CreateProcess, we get a
handle to the process in the PROCESS_INFO output structure. But
instead of using that handle, we were manually looking up a _new_
handle based on the process ID, which is a poor idea, since the
process ID might refer to a new process later on, but the handle
can't.
Diffstat (limited to 'src/common/compat.c')
0 files changed, 0 insertions, 0 deletions