Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index 75342b5624b4b2f3ac9ebebdd66db7493b6b6584..042e808d966ad518af33cad2717106a391fd419f 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -175,11 +175,9 @@ Dart_Port ServiceIsolate::Port() { |
Dart_Port ServiceIsolate::WaitForLoadPort() { |
MonitorLocker ml(monitor_); |
- |
while (initializing_ && (load_port_ == ILLEGAL_PORT)) { |
ml.Wait(); |
} |
- |
return load_port_; |
} |