mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-22 04:00:47 +03:00
Fix potential race condition.
This commit is contained in:
parent
a177c55c26
commit
eb3732a2cd
1 changed files with 1 additions and 1 deletions
|
@ -683,8 +683,8 @@ HttpServerEventThread(void *args)
|
||||||
|
|
||||||
if (!fp)
|
if (!fp)
|
||||||
{
|
{
|
||||||
pthread_mutex_unlock(&server->connQueueMutex);
|
|
||||||
close(connFd);
|
close(connFd);
|
||||||
|
pthread_mutex_unlock(&server->connQueueMutex);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue