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

Closed
obsgolem opened this issue Aug 1, 2024 · 1 comment
Closed

Handle doesn't allow reads after get_mut #546

obsgolem opened this issue Aug 1, 2024 · 1 comment

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.

@MichaReiser
Copy link
Contributor

Closing because Handle is gone ;)

@MichaReiser MichaReiser closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
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.

2 participants