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

RefCell's lifetime cross-over await in apllodb-immutable-schema-engine-infra. A mut ref and 1 or more (shared) ref may exist at the same time. -> panic! #90

Open
laysakura opened this issue Jan 27, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@laysakura
Copy link
Contributor

laysakura commented Jan 27, 2021

See https://rust-lang.github.io/rust-clippy/master/#await_holding_refcell_ref

async runtime working on single thread can even panic.

Arc<Mutex<..>> solves?

@laysakura laysakura added the bug Something isn't working label Jan 27, 2021
@laysakura laysakura added this to the bye-sqlite milestone Feb 1, 2021
@laysakura laysakura changed the title apllodb-immutable-schema-engine-infra で、RefCell の lifetime が await をまたがっているため、同時刻に mut ref と 1つ以上の ref が存在する可能性がある -> panic! RefCell's lifetime cross-over await in apllodb-immutable-schema-engine-infra. A mut ref and 1 or more (shared) ref may exist at the same time. -> panic! May 16, 2021
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

No branches or pull requests

1 participant