summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/tests/path-test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/tests/path-test.cpp b/editor/tests/path-test.cpp
index 0b836932..4558fedd 100644
--- a/editor/tests/path-test.cpp
+++ b/editor/tests/path-test.cpp
@@ -157,6 +157,7 @@ void path_test::update_pre(app& a, const Ns&)
auto& w = M.world();
auto& astar = M.astar();
+ result.res = {}; // return back to the pool to preserve cpu cache
auto res = astar.Dijkstra(w, pending.from, pending.to, pending.own_id, pending.max_dist, pending.own_size, 1);
has_result = !!res;
result = {