| Index: net/test/spawned_test_server/local_test_server.cc
|
| diff --git a/net/test/spawned_test_server/local_test_server.cc b/net/test/spawned_test_server/local_test_server.cc
|
| index 6516136cea9d8e9bbd02fec2e8028ff0d3640f17..3dd6cc3221858616d43e0d07a6988dba95113890 100644
|
| --- a/net/test/spawned_test_server/local_test_server.cc
|
| +++ b/net/test/spawned_test_server/local_test_server.cc
|
| @@ -125,7 +125,11 @@ bool LocalTestServer::Stop() {
|
| return true;
|
|
|
| #if defined(OS_WIN)
|
| - // This kills all the processes in the job object.
|
| + // Kill all the processes in the job object.
|
| + // Passing 0 exit code so that WaitForSingleProcess below doesn't fail.
|
| + if (job_handle_ && !base::KillJob(job_handle_.Get(), 0, true)) {
|
| + VLOG(1) << "Job kill failed";
|
| + }
|
| job_handle_.Close();
|
| #endif
|
|
|
|
|