Skip to content

Commit

Permalink
dfatal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud committed Feb 5, 2024
1 parent 7c402e2 commit b6ea406
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2626,7 +2626,9 @@ LogMessageFatal::LogMessageFatal(const char* file, int line,

LogMessageFatal::~LogMessageFatal() noexcept(false) {
Flush();
LogMessage::Fail();
if (!exit_on_dfatal) {
LogMessage::Fail();
}
}

namespace logging {
Expand Down

0 comments on commit b6ea406

Please sign in to comment.