Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: runtime/vm/message_handler_test.cc

Issue 1177153005: Enables clean VM shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Kill isolates from the service isolate Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/message_handler_test.cc
diff --git a/runtime/vm/message_handler_test.cc b/runtime/vm/message_handler_test.cc
index 7bfcb9aa557d851cfc658a40d22ac262e16ceb32..119e1c82018ee74acf4615a4f7061eac09113d2c 100644
--- a/runtime/vm/message_handler_test.cc
+++ b/runtime/vm/message_handler_test.cc
@@ -288,7 +288,6 @@ static void SendMessages(uword param) {
UNIT_TEST_CASE(MessageHandler_Run) {
- ThreadPool pool;
TestMessageHandler handler;
MessageHandlerTestPeer handler_peer(&handler);
int sleep = 0;
@@ -297,8 +296,7 @@ UNIT_TEST_CASE(MessageHandler_Run) {
EXPECT(!handler.HasLivePorts());
handler_peer.increment_live_ports();
- handler.Run(&pool,
- TestStartFunction,
+ handler.Run(TestStartFunction,
TestEndFunction,
reinterpret_cast<uword>(&handler));
Dart_Port port = PortMap::CreatePort(&handler);

Powered by Google App Engine
This is Rietveld 408576698