diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-10 01:33:51 +0400 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-10 02:01:53 +0400 |
commit | 270c2deb84b04b508c9d90f58684ee5bf7b3dbca (patch) | |
tree | 51d482fcf534e401a353ba4bee6a592aed450d46 /src | |
parent | fc7e217a3001bccc15a8a2026d4d6e60d73e72f2 (diff) |
src: OnFatalError handler must abort()
We are in an unrecoverable state if v8 throws a FatalError, actually
ask the operating system to dump core in this case.
Fixes #6836
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index 47a7d5e5cfd..a18e0d89d5c 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1914,7 +1914,7 @@ static void OnFatalError(const char* location, const char* message) { } else { fprintf(stderr, "FATAL ERROR: %s\n", message); } - exit(5); + abort(); } void FatalException(TryCatch &try_catch) { |