From 86abe51a6dada316ee7e9ef2e7ca6c10cc235a79 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 10 Apr 2023 15:33:34 -0700 Subject: [PATCH] release interlink lock --- reflector/Reflector.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reflector/Reflector.cpp b/reflector/Reflector.cpp index 9324504..afe9505 100644 --- a/reflector/Reflector.cpp +++ b/reflector/Reflector.cpp @@ -718,6 +718,11 @@ void CReflector::GetDHTConfig(const std::string &cs) { // if the get() call was successful and there is a nonzero timestamp, then do the update g_GateKeeper.GetInterlinkMap()->Update(cfg.cs, cfg.mods, cfg.ipv4, cfg.ipv6, cfg.port[toUType(EUrfdPorts::urf)], cfg.tcmods); + g_GateKeeper.ReleaseInterlinkMap(); + } + else + { + std::cerr << "node.Get() was successful, but the timestamp was zero" << std::endl; } } else