Reviewers: Michael Starzinger,
Description:
Exit mksnapshot cleanly, making LSAN happy.
Please review this at https://codereview.chromium.org/137823009/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -0 lines):
M src/mksnapshot.cc
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;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.