Do not forget to signal the proper signal number first
This commit is contained in:
parent
6179a8d8d7
commit
706ce325d3
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ void segfault_handler(int signo) {
|
||||||
free(list);
|
free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signal(signo, SIG_DFL);
|
||||||
kill(getpid(), signo);
|
kill(getpid(), signo);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue