forked from Mirrors/privacore-open-source-search-engine
Fix double-lock deadlock in UdpServer on send failure
This commit is contained in:
@ -558,6 +558,7 @@ void UdpServer::sendReply(char *msg, int32_t msgSize, char *alloc, int32_t alloc
|
||||
// . TODO: we may have to destroy this slot ourselves now...
|
||||
log(LOG_WARN, "udp: Got error sending dgrams.");
|
||||
// destroy it i guess
|
||||
sl.unlock();
|
||||
destroySlot ( slot );
|
||||
}
|
||||
// status is 0 if this blocked
|
||||
|
Reference in New Issue
Block a user