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

Unified Diff: services/dart/content_handler_main.cc

Issue 1595613002: Dart: Remove shutdown workarounds. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « mojo/dart/embedder/dart_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/content_handler_main.cc
diff --git a/services/dart/content_handler_main.cc b/services/dart/content_handler_main.cc
index ed05a806078db63df847ca1ae1e11031126e354f..4d73d83ffad1abda22cdad712ec2f714d3c4446c 100644
--- a/services/dart/content_handler_main.cc
+++ b/services/dart/content_handler_main.cc
@@ -247,8 +247,5 @@ DartContentHandler::CreateApplication(
MojoResult MojoMain(MojoHandle application_request) {
mojo::ApplicationRunnerChromium runner(new dart::DartContentHandlerApp);
- MojoResult r = runner.Run(application_request);
- // TODO(johnmccutchan): Remove this once the Dart VM shuts down threads.
- base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100));
- return r;
+ return runner.Run(application_request);
}
« no previous file with comments | « mojo/dart/embedder/dart_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698