Skip to content

Commit

Permalink
Leak the CTS until i figure out a better solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Mar 3, 2024
1 parent f674730 commit f08ca00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vnavmesh/NavmeshManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private unsafe string GetCacheKey(SceneDefinition scene)
private void ClearState()
{
_queryCancelSource?.Cancel();
_queryCancelSource?.Dispose();
//_queryCancelSource?.Dispose(); - i don't think it's safe to call dispose at this point...
_queryCancelSource = null;

OnNavmeshChanged?.Invoke(null, null);
Expand Down

0 comments on commit f08ca00

Please sign in to comment.