From 8df9d68c61925a925a264ec651c2430c902efe15 Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Fri, 28 Jun 2024 12:50:02 +0800 Subject: [PATCH] remove thread --- source/IVLodLights/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/IVLodLights/dllmain.cpp b/source/IVLodLights/dllmain.cpp index ef7064b..52ba2b7 100644 --- a/source/IVLodLights/dllmain.cpp +++ b/source/IVLodLights/dllmain.cpp @@ -476,7 +476,7 @@ extern "C" __declspec(dllexport) void InitializeASI() static std::once_flag flag; std::call_once(flag, []() { - std::thread([]() { CLODLightManager::IV::Init(); }).detach(); + CLODLightManager::IV::Init(); }); }