Added unchecked block

This commit is contained in:
Travis Nickles 2018-08-04 01:39:46 -05:00
parent c3b4190b02
commit f3c64143e2

View File

@ -597,6 +597,8 @@ namespace DS4Windows
if (clientsList.Count <= 0)
return;
unchecked
{
byte[] outputData = new byte[100];
int outIdx = BeginPacket(outputData, 1001);
Array.Copy(BitConverter.GetBytes((uint)MessageType.DSUS_PadDataRsp), 0, outputData, outIdx, 4);
@ -635,6 +637,8 @@ namespace DS4Windows
try { udpSock.SendToAsync(args); }
catch (SocketException ex) { }
}
}
clientsList.Clear();
clientsList = null;
}