Index: base/test/launcher/test_launcher.cc |
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc |
index c200c448410649c766c612b82d739f9aebe98b8f..4d841f7883b246ed8c889ed2608ec4fb939b9699 100644 |
--- a/base/test/launcher/test_launcher.cc |
+++ b/base/test/launcher/test_launcher.cc |
@@ -972,7 +972,7 @@ void TestLauncher::RunTestIteration() { |
CommandLine::ForCurrentProcess()->HasSwitch(kGTestBreakOnFailure); |
if (cycles_ == 0 || |
(stop_on_failure && test_success_count_ != test_finished_count_)) { |
- MessageLoop::current()->Quit(); |
+ MessageLoop::current()->QuitWhenIdle(); |
return; |
} |