Close cursor at getAllHistoryMap
This commit is contained in:
parent
1c2893bdc2
commit
9573f7457e
1 changed files with 1 additions and 0 deletions
|
@ -286,6 +286,7 @@ public class TravelLocalDataHelper {
|
|||
res.put(item.cityId, item);
|
||||
} while (cursor.moveToNext());
|
||||
}
|
||||
cursor.close();
|
||||
} finally {
|
||||
conn.close();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue