summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsysutils/src/SocketListener.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsysutils/src/SocketListener.cpp b/libsysutils/src/SocketListener.cpp
index 7af221f..1bc06db 100644
--- a/libsysutils/src/SocketListener.cpp
+++ b/libsysutils/src/SocketListener.cpp
@@ -198,6 +198,7 @@ void SocketListener::runListener() {
pthread_mutex_unlock(&mClientsLock);
}
FD_CLR(fd, &read_fds);
+ pthread_mutex_lock(&mClientsLock);
continue;
}
}