Fix overwriting existing areaDatabaseHelper
#79
Merged
Starfish
merged 1 commits from dicer/TinyWeatherForecastGermany:issue74
into master
2 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'dicer/TinyWeatherForecastGermany:issue74'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The areaDatabaseHelper is already created in the onCreate() method. When we overwrite it when sending a query, the old database connection never gets closed. Even worse: We end up opening the database while it is already open (might even be still a write going on by filling the database).
This should close issue #74 but is entirely untested!
Thanks!!!!!!
d9d2aea788
into master 2 years agod9d2aea788
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.