Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 52aaa445d990c77a11dcf1a2ea3f634f4c007c36..028a130008587d395e2d73e7c75a494339e72ba1 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1513,6 +1513,13 @@ static void ShutdownIsolate(uword parameter) { |
} |
+void Isolate::SetStickyError(RawError* sticky_error) { |
+ ASSERT(sticky_error_ == Error::null()); |
+ sticky_error_ = sticky_error; |
+ message_handler()->PausedOnExit(true); |
+} |
+ |
+ |
void Isolate::Run() { |
message_handler()->Run(Dart::thread_pool(), |
RunIsolate, |