Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridView CME fix #491

Merged
merged 7 commits into from
Mar 11, 2024
Merged

GridView CME fix #491

merged 7 commits into from
Mar 11, 2024

Conversation

raoulvdberge
Copy link
Contributor

See #480

From the linked issue a CME occurred at GridViewImpl#sort. It appeared like the backing list was
being modified while a sort was happening.

I noticed that the GridUpdatePacket runs on a different thread (had execute missing), so this change
makes it so that GridUpdatePacket handling should happen on the same thread as the sort, and should
avoid the CME happening in the first place.

I wasn't able to test this due to the nature of the bug.

See #480
…ended off-by-one

If we start from 1 and increment by 10 we want 10, not 11.
@raoulvdberge raoulvdberge enabled auto-merge March 11, 2024 07:32
Copy link

@raoulvdberge raoulvdberge merged commit e58e472 into develop Mar 11, 2024
6 checks passed
@raoulvdberge raoulvdberge deleted the fix/GH-480/cme branch March 11, 2024 07:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant