Skip to content

Comments

Use Task MainActor to queue up set call#118

Merged
0xLeif merged 2 commits intomainfrom
leif/fix-view-update-error-warning
Oct 25, 2024
Merged

Use Task MainActor to queue up set call#118
0xLeif merged 2 commits intomainfrom
leif/fix-view-update-error-warning

Conversation

@0xLeif
Copy link
Owner

@0xLeif 0xLeif commented Oct 25, 2024

This pull request includes a small change to the Sources/AppState/Application/Types/State/Application+State.swift file. The change ensures that a task is executed on the main actor, after the current MainActor task has finished, when setting the cache value.

@0xLeif 0xLeif added the bug Something isn't working label Oct 25, 2024
@0xLeif 0xLeif self-assigned this Oct 25, 2024
@0xLeif 0xLeif merged commit 5d174b9 into main Oct 25, 2024
@0xLeif 0xLeif deleted the leif/fix-view-update-error-warning branch October 25, 2024 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant