cwIo.cpp : Remove the run-once record from p->threadOnceList if the unpause() fails in threadRunOnce().
This commit is contained in:
parent
af103abe97
commit
dbee8c2eae
1
cwIo.cpp
1
cwIo.cpp
@ -2750,6 +2750,7 @@ cw::rc_t cw::io::threadRunOnce( handle_t h, unsigned id, bool asyncFl, thread_o
|
|||||||
errLabel:
|
errLabel:
|
||||||
if( rc != kOkRC )
|
if( rc != kOkRC )
|
||||||
{
|
{
|
||||||
|
p->threadOnceList = t->link;
|
||||||
thread::destroy(t->threadH);
|
thread::destroy(t->threadH);
|
||||||
mem::release(t);
|
mem::release(t);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user