mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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 );
|
CloseSocket( &pr.m_info.m_addr );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
socket = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logf( XW_LOGINFO, "tpool worker thread exiting" );
|
logf( XW_LOGINFO, "tpool worker thread exiting" );
|
||||||
|
|
Loading…
Reference in a new issue