Skip to content

Commit

Permalink
Fix misleading comment.
Browse files Browse the repository at this point in the history
Signal handlers are defined further down.

If `OT_SIGNAL_HANDLER` is defined, the initialization routine in
`OT_API::InitOTApp()` calls `OTLog::SetupSignalHandler()`.
  • Loading branch information
OttoAllmendinger committed Sep 29, 2014
1 parent 93c6083 commit c29113a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/OTLog.cpp
Expand Up @@ -940,9 +940,7 @@ static const bool SET_TERMINATE = std::set_terminate(ot_terminate);
#endif
}

// This is our custom std::terminate handler for SIGABRT (and any
// std::terminate() call)
//
// This is our custom std::terminate(). Also called for uncaught exceptions.
void ot_terminate()
{
try {
Expand Down

0 comments on commit c29113a

Please sign in to comment.