mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +02:00
- additional socket thread protection to fix latest crash reported by titi
This commit is contained in:
@@ -1039,6 +1039,7 @@ bool Socket::hasDataToRead(std::map<PLATFORM_SOCKET,bool> &socketTriggeredList)
|
|||||||
|
|
||||||
bool Socket::hasDataToRead()
|
bool Socket::hasDataToRead()
|
||||||
{
|
{
|
||||||
|
MutexSafeWrapper safeMutex(dataSynchAccessorRead,CODE_AT_LINE);
|
||||||
return Socket::hasDataToRead(sock) ;
|
return Socket::hasDataToRead(sock) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user