Do not close cursor that is still in use
This commit is contained in:
parent
a771ad16cf
commit
f4019af03d
@ -309,7 +309,6 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli
|
||||
|
||||
if (c != null) {
|
||||
int catId = c.getInt(0);
|
||||
c.close();
|
||||
return catId;
|
||||
}
|
||||
|
||||
|
@ -339,7 +339,6 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene
|
||||
|
||||
if (c != null) {
|
||||
int feedId = c.getInt(0);
|
||||
c.close();
|
||||
return feedId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user