mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
- additional socket thread protection to fix latest crash reported by titi
This commit is contained in:
parent
88b31797e7
commit
1e07d023ce
@ -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) ;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user