Fix overwriting existing areaDatabaseHelper #79

Merged
Starfish merged 1 commits from dicer/TinyWeatherForecastGermany:issue74 into master 3 months ago
dicer commented 3 months ago

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!

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!
dicer added 1 commit 3 months ago
Owner

Thanks!!!!!!

Thanks!!!!!!
Starfish merged commit d9d2aea788 into master 3 months ago
dicer deleted branch issue74 3 months ago
The pull request has been merged as d9d2aea788.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.