This commit is contained in:
Andreas Rumpf
2022-12-10 16:21:43 +01:00
committed by GitHub
parent 2ebd71bfd4
commit b59c657be3

View File

@@ -787,8 +787,9 @@ when defined(gcDestructors):
while it != nil:
if maxIters == 0:
let rest = it.next.loada
it.next.storea nil
addToSharedFreeList(c, rest)
if rest != nil:
it.next.storea nil
addToSharedFreeList(c, rest)
break
inc x, size
it = it.next.loada