Unstable 0.1400.1.0
This commit is contained in:
@@ -211,10 +211,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Delaunay
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
t = Neighbors[i];
|
||||
if (t != null)
|
||||
{
|
||||
t.ClearNeighbor(this);
|
||||
}
|
||||
t?.ClearNeighbor(this);
|
||||
}
|
||||
ClearNeighbors();
|
||||
Points[0] = Points[1] = Points[2] = null;
|
||||
|
||||
@@ -491,10 +491,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Delaunay.Sweep
|
||||
{
|
||||
triangle.MarkConstrainedEdge(index);
|
||||
triangle = triangle.Neighbors[index];
|
||||
if (triangle != null)
|
||||
{
|
||||
triangle.MarkConstrainedEdge(ep, eq);
|
||||
}
|
||||
triangle?.MarkConstrainedEdge(ep, eq);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -187,10 +187,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Polygon
|
||||
|
||||
public void ClearSteinerPoints()
|
||||
{
|
||||
if (_steinerPoints != null)
|
||||
{
|
||||
_steinerPoints.Clear();
|
||||
}
|
||||
_steinerPoints?.Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -201,15 +201,9 @@ namespace GameAnalyticsSDK.Net.Store
|
||||
}
|
||||
finally
|
||||
{
|
||||
if(command != null)
|
||||
{
|
||||
command.Dispose();
|
||||
}
|
||||
command?.Dispose();
|
||||
|
||||
if(transaction != null)
|
||||
{
|
||||
transaction.Dispose();
|
||||
}
|
||||
transaction?.Dispose();
|
||||
}
|
||||
|
||||
// Return results
|
||||
|
||||
@@ -595,10 +595,7 @@ namespace GameAnalyticsSDK.Net.Utilities
|
||||
break;
|
||||
}
|
||||
stack.Push(new JSONObject());
|
||||
if (ctx != null)
|
||||
{
|
||||
ctx.Add(TokenName, stack.Peek());
|
||||
}
|
||||
ctx?.Add(TokenName, stack.Peek());
|
||||
TokenName = "";
|
||||
Token.Length = 0;
|
||||
ctx = stack.Peek();
|
||||
@@ -612,10 +609,7 @@ namespace GameAnalyticsSDK.Net.Utilities
|
||||
}
|
||||
|
||||
stack.Push(new JSONArray());
|
||||
if (ctx != null)
|
||||
{
|
||||
ctx.Add(TokenName, stack.Peek());
|
||||
}
|
||||
ctx?.Add(TokenName, stack.Peek());
|
||||
TokenName = "";
|
||||
Token.Length = 0;
|
||||
ctx = stack.Peek();
|
||||
|
||||
Reference in New Issue
Block a user