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

Unified Diff: dart/runtime/bin/main.cc

Issue 875403006: Wait for eventhandler to shut down before exiting (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 5 years, 10 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: dart/runtime/bin/main.cc
diff --git a/dart/runtime/bin/main.cc b/dart/runtime/bin/main.cc
index 251108dbe66115c19326922358949372374a833b..2adacbc1781456f022eec8b0995b0158951e2b5c 100644
--- a/dart/runtime/bin/main.cc
+++ b/dart/runtime/bin/main.cc
@@ -1098,6 +1098,9 @@ void main(int argc, char** argv) {
Dart_Cleanup();
+ // Stop event handler.
+ EventHandler::Stop();
kustermann 2015/02/04 20:58:43 I'm actually not 100% sure whether this should be
Søren Gjesse 2015/02/04 21:57:09 It should be safe to post to send ports where the
+
// Free copied argument strings if converted.
if (argv_converted) {
for (int i = 0; i < argc; i++) free(argv[i]);
« dart/runtime/bin/eventhandler_android.cc ('K') | « dart/runtime/bin/eventhandler_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698