Skip to content

fix potential race in the computation of cache state #3711

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

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Sep 3, 2021

motivation: fix unstable test

changes: compute the cache state before queueing the delegate call, since otherwise it may compute the state after the cache has been created

motivation: fix unstable test

changes: compute the cache state before queueing the delegate call, since otherwise it may compute the state after the cache has been created
@tomerd
Copy link
Contributor Author

tomerd commented Sep 3, 2021

@swift-ci please smoke test

@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Sep 3, 2021
@tomerd tomerd merged commit 401e679 into swiftlang:main Sep 3, 2021
mattt pushed a commit to mattt/swift-package-manager that referenced this pull request Sep 16, 2021
motivation: fix unstable test

changes: compute the cache state before queueing the delegate call, since otherwise it may compute the state after the cache has been created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants