[*] Loop queue nt bug

This commit is contained in:
Reece Wilson 2022-03-11 04:07:15 +00:00
parent 0d969c3560
commit c826df484e

View File

@ -763,7 +763,10 @@ namespace Aurora::Loop
{ {
AU_LOCK_GUARD(this->sourceMutex_); AU_LOCK_GUARD(this->sourceMutex_);
if (trigger)
{
AuTryInsert(*trigger, this->msgSource_); AuTryInsert(*trigger, this->msgSource_);
}
bool shouldRemove {true}; bool shouldRemove {true};
for (const auto &handler : this->msgCallbacks_) for (const auto &handler : this->msgCallbacks_)