summaryrefslogtreecommitdiffstats
path: root/base/test_suite.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/test_suite.h')
-rw-r--r--base/test_suite.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/test_suite.h b/base/test_suite.h
index 3ee0787..2362f03 100644
--- a/base/test_suite.h
+++ b/base/test_suite.h
@@ -63,8 +63,7 @@ class TestSuite {
// Flush any remaining messages. This ensures that any accumulated Task
// objects get destroyed before we exit, which avoids noise in purify
// leak-test results.
- message_loop_.Quit();
- message_loop_.Run();
+ message_loop_.RunAllPending();
#endif
}