* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
* sigproc.cc (_cygtls::remove_wq): Ditto.
This commit is contained in:
@ -355,7 +355,8 @@ out1:
|
||||
void
|
||||
_cygtls::remove_wq (DWORD wait)
|
||||
{
|
||||
if (sync_proc_subproc && sync_proc_subproc.acquire (wait))
|
||||
if (exit_state < ES_FINAL && sync_proc_subproc
|
||||
&& sync_proc_subproc.acquire (wait))
|
||||
{
|
||||
for (waitq *w = &waitq_head; w->next != NULL; w = w->next)
|
||||
if (w->next == &wq)
|
||||
|
Reference in New Issue
Block a user