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

Make disposal behave nice 🙂 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mookid8000
Copy link

Fix it so that disposing the RocksDb instance twice does not throw AccessViolationException and crash the process.

Fixes #76

…cessViolationException and crash the process. Introduce dtor to ensure disposal, even if reference is lost.
sondreb added a commit to block-core/blockcore-rocksdb that referenced this pull request May 28, 2021
This fix was taken from a PR by @mookid8000 submitted to the original codebase: warrenfalk/rocksdb-sharp#77
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.

Calling Dispose twice on a RocksDb instance throws an AccessViolationException
1 participant