Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 47507e5b478012448f71ae36aec6b71c56fc7d92..8ca2e728aab1eee98f6e5ec088f6a035d8da8391 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -652,6 +652,7 @@ static MessageHandler::MessageStatus StoreError(Thread* thread, |
MessageHandler::MessageStatus IsolateMessageHandler::ProcessUnhandledException( |
const Error& result) { |
+ NoReloadScope no_reload_scope(T->isolate(), T); |
// Generate the error and stacktrace strings for the error message. |
String& exc_str = String::Handle(T->zone()); |
String& stacktrace_str = String::Handle(T->zone()); |