[*] Loop queue nt bug
This commit is contained in:
parent
0d969c3560
commit
c826df484e
@ -762,8 +762,11 @@ namespace Aurora::Loop
|
|||||||
// Notify all and remove if unwanted
|
// Notify all and remove if unwanted
|
||||||
{
|
{
|
||||||
AU_LOCK_GUARD(this->sourceMutex_);
|
AU_LOCK_GUARD(this->sourceMutex_);
|
||||||
|
|
||||||
AuTryInsert(*trigger, this->msgSource_);
|
if (trigger)
|
||||||
|
{
|
||||||
|
AuTryInsert(*trigger, this->msgSource_);
|
||||||
|
}
|
||||||
|
|
||||||
bool shouldRemove {true};
|
bool shouldRemove {true};
|
||||||
for (const auto &handler : this->msgCallbacks_)
|
for (const auto &handler : this->msgCallbacks_)
|
||||||
|
Loading…
Reference in New Issue
Block a user