Commit 85c05acf authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Close the DB connection when destroying ML instance

parent 6e384897
......@@ -26,6 +26,7 @@ MediaLibrary::~MediaLibrary()
Show::clear();
ShowEpisode::clear();
Movie::clear();
sqlite3_close( m_dbConnection );
}
bool MediaLibrary::initialize(const std::string& dbPath)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment