From ff2beaf32f2d12750d8875852eb0c5df0c5ad68a Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 11 Oct 2025 17:54:26 +0200 Subject: [PATCH] Bugfix: cells were not replaced by defunc cold proxies after unregistering a lib --- src/db/db/dbLibraryManager.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/db/dbLibraryManager.cc b/src/db/db/dbLibraryManager.cc index c03cf602a..7dde8a647 100644 --- a/src/db/db/dbLibraryManager.cc +++ b/src/db/db/dbLibraryManager.cc @@ -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::max ()); // issue the change notification