Merge "Add missing lock in SocketListener." into gingerbread
This commit is contained in:
commit
40c2b7cbed
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…
Reference in a new issue