| 295 | // change our signal, unregister the old one. |
| 296 | if (signum != g_stack_trace_signum && state == INITIALIZED) { |
| 297 | struct sigaction old_act; |
| 298 | PCHECK(sigaction(g_stack_trace_signum, nullptr, &old_act) == 0); |
| 299 | if (old_act.sa_sigaction == &HandleStackTraceSignal) { |
| 300 | signal(g_stack_trace_signum, SIG_DFL); |
no outgoing calls
no test coverage detected