Good evening, all --

I have an app that requires a user to log into a database, and I've just changed it to log them out instead of exiting the whole app when they click the "Exit" (now "Logout") button. After the log out, the initial login screen is made visible but when they try to log in again I'm getting the typical "connection... is still in use, all queries will cease to work" error. I've seen all the solutions to getting around this but since it's going to be complicated due to the number of places I reference the database in my methods in my DatabaseManager class, I was wondering the following:

1) What are the risks of ignoring this warning -- memory leaks?
2) I have a large number of models attached to my database -- does everyone of these need to be removed before I close the database? I followed this as a model, http://www.qtcentre.org/threads/3446...ult_connection, and I'm still getting the error and after further searching it seems that my models may be the issue...

thanks for any answers!!!


Kodi