1
0
mirror of synced 2025-02-08 07:08:17 +01:00

Merge pull request #45 from Boomslangnz/master

Modified OutputBlaster to add sleep etc
This commit is contained in:
Reaver 2019-06-17 08:29:19 +03:00 committed by GitHub
commit a554f44d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,11 @@ DWORD WINAPI QuitGameThread(__in LPVOID lpParameter)
{ {
system("taskkill /f /im InpWrapper.exe"); system("taskkill /f /im InpWrapper.exe");
} }
TerminateProcess(GetCurrentProcess(), 0); if (blaster)
{
FreeLibrary(blaster);
}
TerminateProcess(GetCurrentProcess(), 0);
#endif #endif
//ExitProcess(0); //ExitProcess(0);
} }
@ -81,12 +85,9 @@ DWORD WINAPI OutputsThread(__in LPVOID lpParameter)
} }
OutputInit = true; OutputInit = true;
} }
if (GetAsyncKeyState(VK_ESCAPE))
{
FreeLibrary(blaster);
}
} }
} }
Sleep(300);
} }
} }