Merge commit '0e6242f7e2c1181d486ae8f86592619738574dd3' * commit '0e6242f7e2c1181d486ae8f86592619738574dd3': Add missing lock in SocketListener.
This commit is contained in:
commit
f254ddc761
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ void SocketListener::runListener() {
|
|||
pthread_mutex_unlock(&mClientsLock);
|
||||
}
|
||||
FD_CLR(fd, &read_fds);
|
||||
pthread_mutex_lock(&mClientsLock);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue