Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 6afad6318c9defa6c385a0259f4a07e80e987f67..3cb92b266c8c63ac00f713a5fbea6abb456e9610 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -1402,6 +1402,7 @@ RawFunction* Debugger::ResolveFunction(const Library& library, |
// that inline the function that contains the newly created breakpoint. |
// We currently don't have this info so we deoptimize all functions. |
void Debugger::DeoptimizeWorld() { |
+ BackgroundCompiler::Stop(isolate_); |
DeoptimizeFunctionsOnStack(); |
// Iterate over all classes, deoptimize functions. |
// TODO(hausner): Could possibly be combined with RemoveOptimizedCode() |