fix: Properly count timers for DumpInfo (#986)
This commit is contained in:
parent
4d1ee21568
commit
b2b4c809f8
1 changed files with 11 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue