Merge pull request #29 from janxbar/master
Do not close cursors that are still in use
This commit is contained in:
commit
cb1c514fc7
@ -309,7 +309,6 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli
|
|||||||
|
|
||||||
if (c != null) {
|
if (c != null) {
|
||||||
int catId = c.getInt(0);
|
int catId = c.getInt(0);
|
||||||
c.close();
|
|
||||||
return catId;
|
return catId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,7 +339,6 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene
|
|||||||
|
|
||||||
if (c != null) {
|
if (c != null) {
|
||||||
int feedId = c.getInt(0);
|
int feedId = c.getInt(0);
|
||||||
c.close();
|
|
||||||
return feedId;
|
return feedId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user