parent
2ebd71bfd4
commit
b59c657be3
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue