diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index 114e4471..7c192e91 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -872,7 +872,17 @@ namespace Components { Logger::Print("Resynchronizing nodes...\n"); - Node::LoadNodeRemotePreset(); + static bool threadRunning = false; + + if (!threadRunning) + { + threadRunning = true; + std::thread([]() + { + Node::LoadNodeRemotePreset(); + threadRunning = false; + }).detach(); + } std::lock_guard _(Node::NodeMutex); for (auto& node : Node::Nodes)