Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 5feb48eeff19f00c404e55603d357a9722a4b8fa..18aab6f56b7b32b0771df965d42e0ff1f5f49626 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1551,9 +1551,7 @@ void Isolate::TearDown() { |
serialize_partial_snapshot_cache_ = NULL; |
} |
- if (!IsDefaultIsolate()) { |
- delete this; |
- } |
+ delete this; |
// Restore the previous current isolate. |
SetIsolateThreadLocals(saved_isolate, saved_data); |