summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/ie_event_sink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/ie_event_sink.cc')
-rw-r--r--chrome_frame/test/ie_event_sink.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/test/ie_event_sink.cc b/chrome_frame/test/ie_event_sink.cc
index 0e5ddcb..65e0a41 100644
--- a/chrome_frame/test/ie_event_sink.cc
+++ b/chrome_frame/test/ie_event_sink.cc
@@ -164,6 +164,10 @@ void IEEventSink::Uninitialize() {
} else {
DCHECK(wait == WAIT_TIMEOUT);
DLOG(ERROR) << "Wait for IE timed out";
+ if (!TerminateProcess(process, 0)) {
+ DLOG(ERROR) << "Failed to terminate IE. Error:"
+ << ::GetLastError();
+ }
break;
}
base::TimeDelta elapsed = base::Time::Now() - start;