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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var name = t.ToString();
|
while (t != null)
|
||||||
|
{
|
||||||
hash.TryGetValue(name, out var count);
|
var name = t.ToString();
|
||||||
hash[name] = count + 1;
|
|
||||||
|
hash.TryGetValue(name, out var count);
|
||||||
total++;
|
hash[name] = count + 1;
|
||||||
|
|
||||||
|
total++;
|
||||||
|
|
||||||
|
t = t?._nextTimer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue