Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: runtime/vm/isolate.cc

Issue 1459443002: VM: Add dart_precompiled build target, a standalone VM without the JIT compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 6d201578f04cc8f730de93eb0c714d9937e34e97..e086d22516e8d3ae9e79992f0eae6ad1e2d2ab1c 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1695,7 +1695,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_);
+ }
#if defined(DEBUG)
if (heap_ != NULL) {

Powered by Google App Engine
This is Rietveld 408576698