Index: runtime/vm/service_isolate.cc |
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc |
index cb92d3a8fa8aebd15f7c33ade78b86b847725810..bd73eb83ddb3e360514f00c6745f101245c35dbf 100644 |
--- a/runtime/vm/service_isolate.cc |
+++ b/runtime/vm/service_isolate.cc |
@@ -371,6 +371,11 @@ class RunServiceTask : public ThreadPool::Task { |
} |
void RunMain(Isolate* I) { |
+ if (Dart::IsRunningPrecompiledCode()) { |
+ // TODO(24651): Remove this. |
+ return; |
+ } |
+ |
StartIsolateScope iso_scope(I); |
Thread* T = Thread::Current(); |
ASSERT(I == T->isolate()); |