Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 85916601982b363f9fd6887461951e51519ae322..5dc9a9f6b4807f08f4723738baa3015ba23522fe 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1718,7 +1718,7 @@ void Isolate::Shutdown() { |
} |
} |
- if (FLAG_check_reloaded && |
+ if (FLAG_check_reloaded && is_runnable() && |
(this != Dart::vm_isolate()) && |
!ServiceIsolate::IsServiceIsolateDescendant(this)) { |
if (!HasAttemptedReload()) { |