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

Unified Diff: dm/DM.cpp

Issue 1808853004: try to flush stdio in the crash handler (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: stdout Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index d8421c95b062915d45262904e6c7a6866f28274a..3a7ba77a3dd56867766c5738b6d2a46f52dbc191 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -185,6 +185,7 @@ static std::atomic<bool> in_signal_handler{false};
}
info("\n");
print_status();
+ fflush(stdout);
}
// Execute default exception handler... hopefully, exit.
return EXCEPTION_EXECUTE_HANDLER;
@@ -214,6 +215,7 @@ static std::atomic<bool> in_signal_handler{false};
for (int i = 0; i < count; i++) {
info(" %s\n", symbols[i]);
}
+ fflush(stdout);
}
_Exit(sig);
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698