| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 01ed58accef6608c1cda1b02d640abeeefdc0ca4..fd0050dd4dc4337688e6d8b605c4a683eed16571 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1483,6 +1483,8 @@ DART_EXPORT Dart_Handle Dart_CreateSnapshot(
|
| return state;
|
| }
|
| I->heap()->CollectAllGarbage();
|
| + I->StopBackgroundCompiler();
|
| +
|
| #if defined(DEBUG)
|
| FunctionVisitor check_canonical(T);
|
| I->heap()->IterateObjects(&check_canonical);
|
|
|