Browse Source

Prevent mutex deadlock

Load calls migrate so they don't both need locks
pull/18/head
Seth Hillbrand 3 months ago
parent
commit
60822714de
  1. 2
      common/lib_table_base.cpp

2
common/lib_table_base.cpp

@ -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 )

Loading…
Cancel
Save