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

Unified Diff: runtime/bin/error_exit.cc

Issue 2760293002: [dart:io] Adds a finalizer to _NativeSocket to avoid socket leaks (Closed)
Patch Set: Address comments Created 3 years, 9 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 | « no previous file | runtime/bin/eventhandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/error_exit.cc
diff --git a/runtime/bin/error_exit.cc b/runtime/bin/error_exit.cc
index 191a8e516894c6b155a8aba23593daa2ba38886f..ebe7d34902107b480aad8accc65c0fd38d1b2ffd 100644
--- a/runtime/bin/error_exit.cc
+++ b/runtime/bin/error_exit.cc
@@ -33,6 +33,7 @@ void ErrorExit(int exit_code, const char* format, ...) {
free(error);
}
+ Process::ClearAllSignalHandlers();
EventHandler::Stop();
Platform::Exit(exit_code);
}
« no previous file with comments | « no previous file | runtime/bin/eventhandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698