NPE check for NetClient _pendingPacketData.

This commit is contained in:
MobiusDevelopment
2022-12-01 03:57:32 +00:00
parent baf8442183
commit 1643c068c7
31 changed files with 155 additions and 31 deletions

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**

View File

@@ -72,7 +72,11 @@ public class NetClient
{ {
} }
} }
_pendingPacketData.clear();
if (_pendingPacketData != null)
{
_pendingPacketData.clear();
}
} }
/** /**