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

Unified Diff: runtime/bin/gen_snapshot.cc

Issue 2647283004: Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… (Closed)
Patch Set: Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… Created 3 years, 11 months 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
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/gen_snapshot.cc
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc
index 3ebc8fb986e70c8367b667b34bb975285007db68..d97f29ea59d2f9e265caa4ce108d077c0d9b84de 100644
--- a/runtime/bin/gen_snapshot.cc
+++ b/runtime/bin/gen_snapshot.cc
@@ -383,6 +383,7 @@ static void WriteSnapshotFile(const char* filename,
Log::PrintErr("Error: Unable to write snapshot file: %s\n\n", filename);
Dart_ExitScope();
Dart_ShutdownIsolate();
+ Dart_Cleanup();
exit(kErrorExitCode);
}
if (!file->WriteFully(buffer, size)) {
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698