Hi all!

I have a database application running in a remote server that therefore works as dataserver. The client send a request and the server replies to it after getting some info from the database. The code works but must be sharpen because every 20 connections( more or less) it fails to connect to the database. Is this message related to the problem? I get it every connection but it still works:
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
how should I close the database properly?