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

Unified Diff: runtime/vm/dart.cc

Issue 1030013002: Shutdown the service isolate when shutting down the VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 5f09db11b0780ebff133ea425684609c5ac9b961..a6ef9594acdafb704a92de7764575500cec5cdfe 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -158,6 +158,8 @@ const char* Dart::InitOnce(Dart_IsolateCreateCallback create,
const char* Dart::Cleanup() {
+ // Shutdown the service isolate before shutting down the thread pool.
+ ServiceIsolate::Shutdown();
#if 0
// Ideally we should shutdown the VM isolate here, but the thread pool
// shutdown does not seem to ensure that all the threads have stopped

Powered by Google App Engine
This is Rietveld 408576698