Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index 6e731c8d4d79182ecf10a32cd83d024ffc04f19f..6c9d75c8d67351b28f5ed86207ad8626c304d080 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -973,6 +973,8 @@ RawObject* Exceptions::Create(ExceptionType type, const Array& arguments) { |
break; |
} |
+ Thread* thread = Thread::Current(); |
+ NoReloadScope no_reload_scope(thread->isolate(), thread); |
return DartLibraryCalls::InstanceCreate(library, *class_name, |
*constructor_name, arguments); |
} |