Add missing lock in SocketListener.
Change-Id: I3d97a06381fce67ef13b1ccdeaa4e8e2830ab2aa
This commit is contained in:
parent
09dd3e57b9
commit
86d01dec4b
|
@ -198,6 +198,7 @@ void SocketListener::runListener() {
|
|||
pthread_mutex_unlock(&mClientsLock);
|
||||
}
|
||||
FD_CLR(fd, &read_fds);
|
||||
pthread_mutex_lock(&mClientsLock);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue