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

Unified Diff: runtime/vm/service/vmservice.dart

Issue 1096173005: Do not register service isolate descendants for debugging (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/vmservice.dart
diff --git a/runtime/vm/service/vmservice.dart b/runtime/vm/service/vmservice.dart
index 95254a3d234fb4e2e943ce7488a622af03ded85e..ee6f2cd22a63a4007e26af8cc33944a594dfc187 100644
--- a/runtime/vm/service/vmservice.dart
+++ b/runtime/vm/service/vmservice.dart
@@ -66,14 +66,15 @@ class VMService extends MessageRouter {
}
void _exit() {
- if (onShutdown != null) {
- onShutdown();
- }
isolateLifecyclePort.close();
scriptLoadPort.close();
for (var client in clients) {
client.close();
}
+ // Call embedder shutdown hook after the internal shutdown.
+ if (onShutdown != null) {
+ onShutdown();
+ }
_onExit();
}
« no previous file with comments | « runtime/vm/debugger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698