Prevent mutex deadlock

Load calls migrate so they don't both need locks
This commit is contained in:
Seth Hillbrand 2025-07-14 14:22:46 -07:00
parent 28da0d3e1e
commit 60822714de

View File

@ -482,8 +482,6 @@ void LIB_TABLE::reindex()
bool LIB_TABLE::migrate()
{
std::lock_guard<std::shared_mutex> lock( m_mutex );
bool table_updated = false;
for( LIB_TABLE_ROW& row : m_rows )