diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 22:59:42 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 22:59:42 +0000 |
commit | e61018fb232d2e6d9e2a4a11e94e8e3072806373 (patch) | |
tree | a207469bae98cf5dfce7dfcfc81798a298bad639 /base/process_util_win.cc | |
parent | c79024bd6c78662be90bce5c8846ac9ad1f2eade (diff) | |
download | chromium_src-e61018fb232d2e6d9e2a4a11e94e8e3072806373.zip chromium_src-e61018fb232d2e6d9e2a4a11e94e8e3072806373.tar.gz chromium_src-e61018fb232d2e6d9e2a4a11e94e8e3072806373.tar.bz2 |
Start the crash_service on windows when running ui tests, if it's not running already. Otherwise there's no point in running ui_tests!
Review URL: http://codereview.chromium.org/39282
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_win.cc')
-rw-r--r-- | base/process_util_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_win.cc b/base/process_util_win.cc index 9829a41..0ced788 100644 --- a/base/process_util_win.cc +++ b/base/process_util_win.cc @@ -178,7 +178,7 @@ bool KillProcess(ProcessHandle process, int exit_code, bool wait) { // The process may not end immediately due to pending I/O if (WAIT_OBJECT_0 != WaitForSingleObject(process, 60 * 1000)) DLOG(ERROR) << "Error waiting for process exit: " << GetLastError(); - } else { + } else if (!result) { DLOG(ERROR) << "Unable to terminate process: " << GetLastError(); } return result; |