Skip to content

Conversation

@gm4sl
Copy link
Contributor

@gm4sl gm4sl commented Nov 8, 2023

The list of pending jobs was being traversed using an index that was unconditionally incremented, even after removing an item from the list. This could cause a job to be skipped in SendPendingEvents, at least until the next frame.

This was not a fatal error as any skipped jobs would be handled in the later calls to SendPendingEvents (next tick).

Noticed while auditing the code for a reported issue with dropped events.

The list of pending jobs was being traversed using an index that was
unconditionally incremented, even after removing an item from the list.
This could cause a job to be skipped in `SendPendingEvents`, at least
until the next frame.

This was not a fatal error as any skipped jobs would be handled in the
later calls to SendPendingEvents (next tick).

Noticed while auditing the code for a reported issue with dropped events.
@gm4sl gm4sl requested a review from konraddysput November 8, 2023 20:32
@gm4sl gm4sl merged commit 3388bed into master Nov 8, 2023
@gm4sl gm4sl deleted the gm4sl/metrics-send-pending branch November 8, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants