Chromium Code Reviews| Index: runtime/vm/isolate.cc |
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
| index 1a098fa78fa8b2587fea530accbbe10c0d887853..4c49953b5ad2756c4d56135e43830a5dc26868dc 100644 |
| --- a/runtime/vm/isolate.cc |
| +++ b/runtime/vm/isolate.cc |
| @@ -1639,7 +1639,9 @@ void Isolate::LowLevelShutdown() { |
| void Isolate::Shutdown() { |
| ASSERT(this == Isolate::Current()); |
| // Wait until all background compilation has finished. |
| - BackgroundCompiler::Stop(background_compiler_); |
| + if (background_compiler_ != NULL) { |
| + BackgroundCompiler::Stop(background_compiler_); |
| + } |
|
rmacnak
2015/11/17 20:51:18
else {
ASSERT(Dart::IsRunningPrecompiledCode())
Florian Schneider
2015/11/18 11:44:09
This may be too strict - e.g. running with --no-ba
rmacnak
2015/11/18 19:00:07
Ack.
|
| #if defined(DEBUG) |
| if (heap_ != NULL) { |