| Index: runtime/bin/process_win.cc
|
| diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
|
| index 104fee3e9eaa1d650717495754e1f98a40ed6421..5628a53998d36f624c6cffed0f21fde75e2cd0e0 100644
|
| --- a/runtime/bin/process_win.cc
|
| +++ b/runtime/bin/process_win.cc
|
| @@ -511,9 +511,8 @@ bool Process::Kill(intptr_t id, int signal) {
|
| &process_handle,
|
| &wait_handle,
|
| &exit_pipe);
|
| - if (!success) {
|
| - return true; // The process has already died. Report a successful kill.
|
| - }
|
| + // The process is already dead.
|
| + if (!success) return false;
|
| BOOL result = TerminateProcess(process_handle, -1);
|
| return result ? true : false;
|
| }
|
|
|