Index: src/mksnapshot.cc |
diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc |
index 457f7b3a9a3af21bb9d70974c9be0d5b9cd1861a..07b057549237f14ab2f75ecebf858b7345620bd3 100644 |
--- a/src/mksnapshot.cc |
+++ b/src/mksnapshot.cc |
@@ -399,5 +399,8 @@ int main(int argc, char** argv) { |
ser.CurrentAllocationAddress(i::MAP_SPACE), |
ser.CurrentAllocationAddress(i::CELL_SPACE), |
ser.CurrentAllocationAddress(i::PROPERTY_CELL_SPACE)); |
+ isolate->Exit(); |
+ isolate->Dispose(); |
+ V8::Dispose(); |
return 0; |
} |