Skip to content

Commit

Permalink
fix: Uninstall signal handler after one invocation (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Apr 12, 2021
1 parent c484031 commit bbc9999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/ios/exception_handler_no_mach.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) {
if (gBreakpadAllocator)
gBreakpadAllocator->Protect();
#endif
// uninstall our own crash handler so that when the signal is re-raised, the
// default handler takes over.
gProtectedData.handler->UninstallHandlers();
}

bool ExceptionHandler::InstallHandlers() {
Expand Down

0 comments on commit bbc9999

Please sign in to comment.