MBvisti/weight-tracker-article

db.close() missing

Closed this issue · 1 comments

Open DB is done in setupDatabase(), but closing is missing.
defer db.close() can be included in run()

Hi @mk48

Thanks for opening this issue.

Feel free to open a PR adding this; it's of course correct to close the open db connection, but not central to content this code was made for so I will not be making changes.