From ed70b7c484959280e7df6019703d68dd838efde9 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 21 Jan 2025 09:00:12 -0800 Subject: [PATCH] tests: fix thread limit --- strafe-client/src/physics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strafe-client/src/physics.rs b/strafe-client/src/physics.rs index 8a49355..814345d 100644 --- a/strafe-client/src/physics.rs +++ b/strafe-client/src/physics.rs @@ -2265,7 +2265,7 @@ mod test{ // spawn threads println!("spawning up to {thread_limit} threads..."); let mut active_thread_count=0; - for _ in 0..thread_limit{ + while active_thread_count