mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Fix error where we continue processing even when there are msg4 being queued
This commit is contained in:
@ -245,7 +245,7 @@ bool Msg4::addMetaList ( const char *metaList, int32_t metaListSize, collnum_t c
|
||||
// get in line if there's a line
|
||||
{
|
||||
ScopedLock sl(s_mtxQueuedMsg4s);
|
||||
if (s_queuedMsg4s.empty()) {
|
||||
if (!s_queuedMsg4s.empty()) {
|
||||
s_queuedMsg4s.push_back(this);
|
||||
|
||||
log(LOG_DEBUG, "msg4: queueing msg4=%p", this);
|
||||
@ -259,7 +259,7 @@ bool Msg4::addMetaList ( const char *metaList, int32_t metaListSize, collnum_t c
|
||||
}
|
||||
|
||||
// no line. continue processing
|
||||
if (processMetaList() ) {
|
||||
if (processMetaList()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user