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

Unified Diff: runtime/vm/service.cc

Issue 913503004: Per isolate Log with block support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 036126280efa4af59f83088443b30ad213f6fd9f..0d8f9bb49c96c3cfb35a9dd5e12b9643f19ed297 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -287,6 +287,9 @@ void Service::SetServicePort(Dart_Port port) {
void Service::SetServiceIsolate(Isolate* isolate) {
MonitorLocker ml(monitor_);
service_isolate_ = isolate;
+ if (service_isolate_ != NULL) {
+ service_isolate_->service_isolate_ = true;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698