ModernUO/Projects/Server.Tests/Tests
Kamron Batman 47f972ec9d
fix: ClearAllTimers stops every timer in a slot, not just the first (#2723)
## Summary
`Timer.ClearAllTimers` walked each wheel slot with a `do/while` that read `node._nextTimer` but never advanced `node`. `Stop()` unlinks the head from its slot, so the second pass read a null successor from the same, now-detached node and exited. Only the first timer in every slot was stopped; the rest kept running.

The loop now reads the successor, stops the node, and advances.

Nothing in the repo calls `ClearAllTimers` today, so no running server is affected. It is public API for shards and tests.

## Tests
- `TimerTests.ClearAllTimers_StopsEveryTimerInASlot` puts three timers in the same slot, clears them, asserts none is `Running`, and slices past their due time. It fails without the fix.
- Server.Tests: all pass.
2026-10-18 20:10:19 -07:00
..
Buffers test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Client fix: Fixes flaky tests, formatting, and sequential testing. (#2168) 2025-04-30 16:42:38 -07:00
Collections test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Console fix(console): stop headless servers from pegging a CPU core (#2535) 2026-07-16 18:52:43 -07:00
Geometry test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Items test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Json test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Localization fix: Fixes flaky tests, formatting, and sequential testing. (#2168) 2025-04-30 16:42:38 -07:00
Maps test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Mobiles perf: keep damage entries in an inline intrusive list (#2605) 2026-09-01 23:25:14 -07:00
Network test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
PropertyList test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Serialization test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
Text chore: Code Cleanup (#1239) 2022-11-10 22:49:25 -08:00
Timer fix: ClearAllTimers stops every timer in a slot, not just the first (#2723) 2026-10-18 20:10:19 -07:00
Utility test: remove trivial, duplicate and content-value tests (#2721) 2026-10-18 20:08:19 -07:00
World chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
SerialTests.cs fix: Adds ISpanFormattable support to Serial (#1065) 2022-06-14 18:39:46 -07:00