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

[RocksDB] Add isClosed convenience method with tests #11

Merged
merged 1 commit into from May 24, 2018

Conversation

iwasrobbed-ks
Copy link
Contributor

@iwasrobbed-ks iwasrobbed-ks commented May 24, 2018

Fixes #10

Changes

  • Adds back an isClosed convenience method for checking if the database instance has been closed.
    • Includes a test for this scenario.

We use this with guard statements to ensure we don't call any db APIs on an already closed database instance.

@iabudiab iabudiab merged commit 3bef7e5 into iabudiab:develop May 24, 2018
@iwasrobbed-ks
Copy link
Contributor Author

Thanks for moving so quickly on all of this! And thank you again for your continued work and support of this 🎉

@iwasrobbed-ks iwasrobbed-ks deleted the api/closed branch May 24, 2018 22:34
@iabudiab
Copy link
Owner

@rob-keepsafe You're welcome! Couldn't have done it so quickly without your help! Many Thanks!

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.

API request: isClosed
2 participants