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()
|
void Exit()
|
||||||
{
|
{
|
||||||
std::cout << "Press any key to exit.\n";
|
std::cout << "Press any key to exit.\n";
|
||||||
|
TerminateJobObject(job, 0);
|
||||||
_getch();
|
_getch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user