- additional socket thread protection to fix latest crash reported by titi

This commit is contained in:
Mark Vejvoda 2013-03-11 03:52:35 +00:00
parent 88b31797e7
commit 1e07d023ce

View File

@ -1039,6 +1039,7 @@ bool Socket::hasDataToRead(std::map<PLATFORM_SOCKET,bool> &socketTriggeredList)
bool Socket::hasDataToRead()
{
MutexSafeWrapper safeMutex(dataSynchAccessorRead,CODE_AT_LINE);
return Socket::hasDataToRead(sock) ;
}