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

Serialize parent's cache generation and access #1496

Merged
merged 5 commits into from
Aug 23, 2021

Conversation

cryptonemo
Copy link
Collaborator

No description provided.

Ok(c) => Ok(c),
Ok(c) => {
generated.insert(generation_key);
drop(generated);
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not really needed, as it will be dropped as soon as the function ends

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought an explicit drop made sense at the time, but agreed, it's not needed

dignifiedquire
dignifiedquire previously approved these changes Aug 19, 2021
@cryptonemo
Copy link
Collaborator Author

Resolves #1495

fix: ensure test doesn't remove a file another thread is using
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.

2 participants