Commit 623def22 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Ensure initialize was correctly called

parent 054b3f66
......@@ -298,6 +298,7 @@ bool MediaLibrary::initialize( const std::string& dbPath, const std::string& thu
bool MediaLibrary::start()
{
assert( m_initialized == true );
if ( m_parser != nullptr )
return false;
......
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