diff options
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 6c5393795..dad5c7f8a 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -557,7 +557,7 @@ sigpending (sigset_t *set) extern "C" int __stdcall sig_dispatch_pending () { - if (!hwait_sig || GetCurrentThreadId () == sigtid) + if (exit_state || !hwait_sig || GetCurrentThreadId () == sigtid) return 0; sigframe thisframe (mainthread); |