SnappyDB icon indicating copy to clipboard operation
SnappyDB copied to clipboard

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

Open StanleyFung opened this issue 10 years ago • 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?

StanleyFung avatar Sep 13 '15 05:09 StanleyFung

This is something I am really concerned with as well!

palmithor avatar Apr 06 '16 07:04 palmithor