Fixed a few little mistakes I forgot about
This commit is contained in:
parent
c148ca8f4a
commit
d72c765186
@ -845,7 +845,7 @@ namespace IW4MAdmin
|
||||
}
|
||||
catch (Exception E)
|
||||
{
|
||||
Log.Write("Error during initialization - " + E.Message, Log.Level.All);
|
||||
Log.Write("Error during initialization - " + E.Message +"--" + E.StackTrace, Log.Level.All);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -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());
|
||||
|
@ -123,7 +123,7 @@ namespace IW4MAdmin_Web
|
||||
}
|
||||
}
|
||||
|
||||
players.AppendFormat("<td><a href='/{0}/{1}/userip/?player'>{2}</a></td>", Servers[i].pID(), P.getDBID(), IW4MAdmin.Utilities.nameHTMLFormatted(P));
|
||||
players.AppendFormat("<td><a href='/{0}/{1}/userip/?player'>{2}</a></td>", i, P.getDBID(), IW4MAdmin.Utilities.nameHTMLFormatted(P));
|
||||
|
||||
if (count % 2 != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user