parent
a7f708bea8
commit
60e6fc55bf
|
@ -1548,7 +1548,7 @@ proc isCounterLeaked*(name: string): bool {.noinit.} =
|
||||||
## number of `closed` requests.
|
## number of `closed` requests.
|
||||||
let tracker = TrackerCounter(opened: 0'u64, closed: 0'u64)
|
let tracker = TrackerCounter(opened: 0'u64, closed: 0'u64)
|
||||||
let res = getThreadDispatcher().counters.getOrDefault(name, tracker)
|
let res = getThreadDispatcher().counters.getOrDefault(name, tracker)
|
||||||
res.opened == res.closed
|
res.opened != res.closed
|
||||||
|
|
||||||
iterator trackerCounters*(
|
iterator trackerCounters*(
|
||||||
loop: PDispatcher
|
loop: PDispatcher
|
||||||
|
|
Loading…
Reference in New Issue