bug in recent changes: need to mark socket unused to avoid double removal

This commit is contained in:
Eric House 2013-01-13 10:37:47 -08:00
parent 98679c8363
commit dc0cfdf001

View file

@ -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" );