Don't call sa_sigaction when it is NULL
It is possible for the sa_sigaction callback to be NULL. This happens for abort signal. Calling a NULL method will cause the signal handler to hang, which will cause Unity to hang, instead of crashing. This can be unhelpful when tests are running, for example.
Showing
想要评论请 注册 或 登录