Skip to content

Commit

Permalink
Remove redundant init assert
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgr committed May 11, 2020
1 parent e281db2 commit 066623d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion paperdb/src/main/java/io/paperdb/DbStoragePlainFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ void destroy() {
// and block future per-key operations until destroy is completed
try {
keyLocker.acquireGlobal();
assertInit();

if (!deleteDirectory(mDbPath)) {
Log.e(TAG, "Couldn't delete Paper dir " + mDbPath);
Expand Down

0 comments on commit 066623d

Please sign in to comment.