jfoucry / Pilldroid

Gestion théorique de stock de médicament
Other
3 stars 2 forks source link

Leak of databases #41

Open Jean-BaptisteC opened 3 months ago

Jean-BaptisteC commented 3 months ago

Sometimes when users add or save a prescription, in the log we have warnings about database leaks. I understood when the prescription is saved, the connection to datadase is not closed everywhere.

jfoucry commented 3 months ago

I know, but is seems to be a "normal" behaviors. With Room Database management I saw nothing about closing the database. Must make other search.