Commit 1f18aaeb authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Remove initial reload

parent a490aecf
......@@ -635,7 +635,6 @@ void MediaLibrary::startDiscoverer()
m_discovererWorker.reset( new DiscovererWorker( this ) );
for ( const auto& fsFactory : m_fsFactories )
m_discovererWorker->addDiscoverer( std::unique_ptr<IDiscoverer>( new FsDiscoverer( fsFactory, this, m_callback ) ) );
m_discovererWorker->reload();
}
void MediaLibrary::startDeletionNotifier()
......
......@@ -67,6 +67,7 @@ void Tests::Reload( std::shared_ptr<factory::IFileSystem> fs /*= nullptr*/, IMed
ASSERT_TRUE( res );
res = ml->start();
ASSERT_TRUE( res );
ml->reload();
}
......
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