mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
bug in recent changes: need to mark socket unused to avoid double removal
This commit is contained in:
parent
98679c8363
commit
dc0cfdf001
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,8 @@ XWThreadPool::real_tpool_main( ThreadInfo* tip )
|
|||
CloseSocket( &pr.m_info.m_addr );
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
socket = -1;
|
||||
}
|
||||
}
|
||||
logf( XW_LOGINFO, "tpool worker thread exiting" );
|
||||
|
|
Loading…
Reference in a new issue