From 6f1ca88f34a12ff5954325123c0b6f7613f168d1 Mon Sep 17 00:00:00 2001 From: LittleEgg <62865583+LittleEgg-sudo@users.noreply.github.com> Date: Sun, 5 Jan 2025 01:21:09 -0800 Subject: [PATCH] Update auth.cpp thread interval outside of loop making the CPU usage skyrocked after the first inital 15 seconds waited --- auth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.cpp b/auth.cpp index 7559c74..489978d 100644 --- a/auth.cpp +++ b/auth.cpp @@ -1738,8 +1738,8 @@ void checkRegistry() { LI_FN(__fastfail)(0); } LI_FN(RegCloseKey)(hKey); + Sleep(1500); // thread interval } - Sleep(1500); // thread interval } std::string checksum()