mirror of
https://github.com/absoluteSpacehead/MercuryLauncher.git
synced 2026-01-13 03:02:21 +01:00
Kill job on failure
This commit is contained in:
@@ -30,6 +30,7 @@ HANDLE job;
|
||||
void Exit()
|
||||
{
|
||||
std::cout << "Press any key to exit.\n";
|
||||
TerminateJobObject(job, 0);
|
||||
_getch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user