diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 19:28:41 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 19:28:41 +0000 |
commit | cd4fd156aba80ddffd3fffd8e2d8703247181fe0 (patch) | |
tree | 1f4b2dc5f58e5f534b033f71e0e48cc5549c6732 /net/disk_cache/stress_cache.cc | |
parent | a6309f8198825442d77f0fc9aa70c82ae5dd6d04 (diff) | |
download | chromium_src-cd4fd156aba80ddffd3fffd8e2d8703247181fe0.zip chromium_src-cd4fd156aba80ddffd3fffd8e2d8703247181fe0.tar.gz chromium_src-cd4fd156aba80ddffd3fffd8e2d8703247181fe0.tar.bz2 |
Fix the windows implementation of KillProcess and WaitForSingleProcess to not close the process handle that they do not own.
Review URL: http://codereview.chromium.org/24004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/stress_cache.cc')
-rw-r--r-- | net/disk_cache/stress_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc index 8ad94e2..a7fb144 100644 --- a/net/disk_cache/stress_cache.cc +++ b/net/disk_cache/stress_cache.cc @@ -144,7 +144,7 @@ class CrashTask : public Task { printf("sweet death...\n"); #if defined(OS_WIN) // Windows does more work on _exit() that we would like, so we use Kill. - base::KillProcess(base::GetCurrentProcId(), kExpectedCrash, false); + base::KillProcessById(base::GetCurrentProcId(), kExpectedCrash, false); #elif defined(OS_POSIX) // On POSIX, _exit() will terminate the process with minimal cleanup, // and it is cleaner than killing. |