Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite Connection not closing for some reason #4

Open
ChrisMcMahon123 opened this issue Feb 20, 2019 · 1 comment
Open

SQLite Connection not closing for some reason #4

ChrisMcMahon123 opened this issue Feb 20, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@ChrisMcMahon123
Copy link
Owner

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.

This in itself is not a huge issue. As the new connection will replace the old one. But it would be nice to eliminate this warning

@ChrisMcMahon123 ChrisMcMahon123 added the bug Something isn't working label Feb 20, 2019
@ChrisMcMahon123
Copy link
Owner Author

Could apply the singleton pattern to the constructor and see if that fixes the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant