mirror of https://github.com/KLayout/klayout.git
Bugfix: cells were not replaced by defunc cold proxies after unregistering a lib
This commit is contained in:
parent
b3ec482eb8
commit
ff2beaf32f
|
|
@ -112,6 +112,8 @@ LibraryManager::unregister_lib (Library *library)
|
|||
return;
|
||||
}
|
||||
|
||||
library->remap_to (0);
|
||||
|
||||
{
|
||||
tl::MutexLocker locker (&m_lock);
|
||||
|
||||
|
|
@ -124,7 +126,6 @@ LibraryManager::unregister_lib (Library *library)
|
|||
}
|
||||
}
|
||||
|
||||
library->remap_to (0);
|
||||
library->set_id (std::numeric_limits<lib_id_type>::max ());
|
||||
|
||||
// issue the change notification
|
||||
|
|
|
|||
Loading…
Reference in New Issue