Skip to content

Commit

Permalink
fix for COMPILER-8902: terminate handler should be called if it was s…
Browse files Browse the repository at this point in the history
…et using std::set_terminate
  • Loading branch information
anonymous committed Jan 3, 2011
1 parent 0f29a30 commit 36d91e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exception.cc
Expand Up @@ -488,7 +488,7 @@ extern "C" void __cxa_throw(void *thrown_exception,
info->globals.uncaughtExceptions++;

_Unwind_Reason_Code err = _Unwind_RaiseException(&ex->unwindHeader);
report_failure(err, thrown_exception);
std::terminate();
}

/**
Expand Down

0 comments on commit 36d91e1

Please sign in to comment.