1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

roots: don't access a shared variable after releasing a lock

Access the local copy of `m_root_crawl_map` instead.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2025-01-03 19:56:37 -05:00
Ursprung 87472b6086
Commit 1af5fcdf34
+1 -1
Datei anzeigen
@@ -1632,7 +1632,7 @@ BeesRoots::insert_new_crawl()
lock.unlock();
// Nothing to crawl? Seems suspicious...
if (m_root_crawl_map.empty()) {
if (crawl_map_copy.empty()) {
BEESLOGINFO("crawl map is empty!");
}