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

Queue all updates to snapshot in LocationDataSource asynchronously #5987

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Mar 20, 2024

A user has reported a crash in LocationDataSource, when appending items to the diffable data source. It's not very clear as to what the problem is, since it points to the Apple framework function NSDiffableDataSourceSnapshot.appendItems.

The fix in this PR is mostly a half-baked guess at solving the problem and something that looks nicer in our code anyway.


This change is Reviewable

@rablador rablador added bug iOS Issues related to iOS labels Mar 20, 2024
@rablador rablador requested review from buggmagnet and acb-mv March 20, 2024 10:54
Copy link

linear bot commented Mar 20, 2024

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the investigate-crash-in-locationdatasource-ios-567 branch from 50c72df to a1fcb52 Compare March 28, 2024 12:23
@buggmagnet buggmagnet merged commit 573c886 into main Mar 28, 2024
6 of 7 checks passed
@buggmagnet buggmagnet deleted the investigate-crash-in-locationdatasource-ios-567 branch March 28, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants