mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-13 17:53:11 +02:00
Prevent mutex deadlock
Load calls migrate so they don't both need locks
This commit is contained in:
parent
28da0d3e1e
commit
60822714de
@ -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…
x
Reference in New Issue
Block a user