Add missing close
This commit is contained in:
parent
7b8a2c9638
commit
1119047891
@ -101,10 +101,12 @@ public class DeliveryDbAdapter {
|
||||
public DeliveryDbAdapter open() throws SQLException {
|
||||
mDbHelper = new DeliveryDbHelper(mCtx);
|
||||
mDb = mDbHelper.getWritableDatabase();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public void close() {
|
||||
mDb.close();
|
||||
mDbHelper.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user