Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index bd73eb83ddb3e360514f00c6745f101245c35dbf..98cbeb957f7b42abdc8278494681b91bb35100f9 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -319,6 +319,7 @@ class RunServiceTask : public ThreadPool::Task { |
&error)); |
if (isolate == NULL) { |
OS::PrintErr("vm-service: Isolate creation error: %s\n", error); |
+ ServiceIsolate::SetServiceIsolate(NULL); |
ServiceIsolate::FinishedInitializing(); |
return; |
} |