diff --git a/Projects/Server/Timer/Timer.TimerWheel.cs b/Projects/Server/Timer/Timer.TimerWheel.cs index 02b54f12a..e3dc9ae6c 100644 --- a/Projects/Server/Timer/Timer.TimerWheel.cs +++ b/Projects/Server/Timer/Timer.TimerWheel.cs @@ -221,12 +221,17 @@ namespace Server continue; } - var name = t.ToString(); - - hash.TryGetValue(name, out var count); - hash[name] = count + 1; - - total++; + while (t != null) + { + var name = t.ToString(); + + hash.TryGetValue(name, out var count); + hash[name] = count + 1; + + total++; + + t = t?._nextTimer; + } } }