nhachicha/SnappyDB

What happens if you close the application without calling close() on an open SnappyDB?

StanleyFung opened this issue · 1 comments

@nhachicha in your example here https://github.com/theappbusiness/kc-android/blob/master/app/src/main/java/com/nabilhachicha/kc/data/DatabaseImpl.java , you do not close the db at any point.

There is no documentation saying that we must call close() but would like confirmation. What happens if we choose not to close() the DB? Does it close automatically if the application is terminated?

This is something I am really concerned with as well!