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

Handle doesn't allow reads after get_mut #546

Open
obsgolem opened this issue Aug 1, 2024 · 0 comments
Open

Handle doesn't allow reads after get_mut #546

obsgolem opened this issue Aug 1, 2024 · 0 comments

Comments

@obsgolem
Copy link
Contributor

obsgolem commented Aug 1, 2024

The Handle type sets the cancellation flag but doesn't clear it before handing the mutable access back to the caller. You can get around this with a synthetic_write, but otherwise any attempts to perform an immutable access to the database will panic.

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 a pull request may close this issue.

1 participant