ZODB Components: Fix deadlock happening when generating a new UID while installing bt5 (7d31f4fb).
7d31f4fb allowed to prevent duplication of Component, as the ID was not enough, for example when renaming a Component. As getUid() may trigger generation of a new UID (and thus relying on portal_ids) and is protected by a non-reentrant lock, it may deadlock when generating Component registry_dict while loading Portal Types.
Showing
Please register or sign in to comment