Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-12-13 19:01:57 +0300
committerChristopher Faylor <me@cgf.cx>2005-12-13 19:01:57 +0300
commit2c8fd4069587c530504cbc66e63371bed8ccb8d6 (patch)
tree104f7fb056c2c7ef29128a1e2b8abdaa27f0955b /winsup/cygwin/cygtls.cc
parent1f3a4b849693e397d052f276ac11e1633900175d (diff)
* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
* sigproc.cc (_cygtls::remove_wq): Ditto.
Diffstat (limited to 'winsup/cygwin/cygtls.cc')
-rw-r--r--winsup/cygwin/cygtls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc
index 568c5af23..e8e846e54 100644
--- a/winsup/cygwin/cygtls.cc
+++ b/winsup/cygwin/cygtls.cc
@@ -147,7 +147,7 @@ void
_cygtls::remove (DWORD wait)
{
debug_printf ("wait %p", wait);
- if (!locals.exitsock)
+ if (!locals.exitsock || exit_state >= ES_FINAL)
return;
if (wait)
{