Making this thread safe is quite trivial now. Note that for building the tree we iterate the catalogs map, which may still be modified from another thread in parallel. Making this thread safe is kept for a separate commit.
Making this thread safe is quite trivial now. Note that for building the tree we iterate the catalogs map, which may still be modified from another thread in parallel. Making this thread safe is kept for a separate commit.