Skip to content

Commit

Permalink
fixed an issue where await deadlock could occur in various platform e…
Browse files Browse the repository at this point in the history
…nvironments.
  • Loading branch information
ikpil committed Apr 11, 2024
1 parent 4c15acf commit 4c649b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Runtime/DotRecast.Recast/RcBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ private List<RcBuilderResult> BuildMultiThread(IInputGeomProvider geom, RcConfig
limits.Clear();
}

return results.ToList();
var list = results.ToList();
return list;
}

public RcBuilderResult BuildTile(IInputGeomProvider geom, RcConfig cfg, RcVec3f bmin, RcVec3f bmax, int tx, int ty, RcAtomicInteger progress, int total)
Expand Down

0 comments on commit 4c649b9

Please sign in to comment.