Arnaud 2dd97631ed
chore: update nim 2.2.8 (#1424)
Signed-off-by: Arnaud <arno.deville@gmail.com>
Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
2026-04-22 13:57:14 +00:00

14 lines
439 B
Nim

import pkg/storage/streams/storestream
import pkg/unittest2
const trackerNames = [StoreStreamTrackerName]
proc checkTrackers*() =
for name in trackerNames:
let counter = getTrackerCounter(name)
if counter.opened != counter.closed:
# show how many streams were opened vs closed to help diagnose the leak
checkpoint name & ": opened=" & $counter.opened & ", closed=" & $counter.closed
fail()
GC_fullCollect()