* sigproc.h (sigframe::unregister): Return true/false whether this frame is
capable of responding to signals. * exceptions.cc (sigframe::call_signal_handler): Don't call signal handler if it is not armed for this thread.
This commit is contained in:
@ -1142,8 +1142,8 @@ static int __stdcall call_signal_handler_now_dummy ()
|
||||
int
|
||||
sigframe::call_signal_handler ()
|
||||
{
|
||||
unregister ();
|
||||
return call_signal_handler_now ();
|
||||
return unregister () ? call_signal_handler_now () : 0;
|
||||
|
||||
}
|
||||
|
||||
#define pid_offset (unsigned)(((_pinfo *)NULL)->pid)
|
||||
|
Reference in New Issue
Block a user