Skip to content

Make disposal behave nice 🙂#77

Open
mookid8000 wants to merge 1 commit intowarrenfalk:masterfrom
mookid8000:master
Open

Make disposal behave nice 🙂#77
mookid8000 wants to merge 1 commit intowarrenfalk:masterfrom
mookid8000:master

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