1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Fixed a few little mistakes I forgot about

This commit is contained in:
raidmax@live.com
2015-07-06 21:15:27 -05:00
parent c148ca8f4a
commit d72c765186
3 changed files with 4 additions and 4 deletions

View File

@ -521,7 +521,7 @@ namespace IW4MAdmin
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
return;
WaitForSingleObject(ThreadHandle, 5000);
WaitForSingleObject(ThreadHandle, 500000);
// cleanup
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
@ -593,7 +593,7 @@ namespace IW4MAdmin
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
return requestedDvar;
WaitForSingleObject(ThreadHandle, 5000);
WaitForSingleObject(ThreadHandle, 500000);
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
Console.WriteLine(Marshal.GetLastWin32Error());