summaryrefslogtreecommitdiff
path: root/deps/v8/src/checks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/checks.cc')
-rw-r--r--deps/v8/src/checks.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/checks.cc b/deps/v8/src/checks.cc
index f8a2f24f64..b5df316d0f 100644
--- a/deps/v8/src/checks.cc
+++ b/deps/v8/src/checks.cc
@@ -36,6 +36,8 @@ static int fatal_error_handler_nesting_depth = 0;
// Contains protection against recursive calls (faults while handling faults).
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...) {
+ fflush(stdout);
+ fflush(stderr);
fatal_error_handler_nesting_depth++;
// First time we try to print an error message
if (fatal_error_handler_nesting_depth < 2) {