mcruncher / worshipsongs-android

Android app for Worship Songs
GNU General Public License v3.0
8 stars 8 forks source link

Database connection leakage #595

Closed sskjames closed 1 year ago

sskjames commented 1 year ago

The following message is printed repeatedly in the console while using the app:

W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/data/org.worshipsongs/databases/songs.sqlite' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
W/System: A resource failed to call close. 

Steps to recreate:

sskjames commented 1 year ago

While opening the app, we open a database connection 4 times and do not close it. And we get the connection leakage warning straight away.