Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index 036126280efa4af59f83088443b30ad213f6fd9f..c39d342047f0d6e8cf5ffc35d455873254d17f2f 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_->is_service_isolate_ = true; |
+ } |
} |