Fixed bug in weak-table-walk.
This commit is contained in:
parent
e2eeaa4789
commit
8c3cda1e0e
|
@ -14,7 +14,7 @@
|
||||||
(define (weak-table-walk proc table)
|
(define (weak-table-walk proc table)
|
||||||
(table-walk
|
(table-walk
|
||||||
(lambda (number value)
|
(lambda (number value)
|
||||||
(if (weak-pointer? value) (weak-pointer-ref value) value))
|
(proc number (if (weak-pointer? value) (weak-pointer-ref value) value)))
|
||||||
table))
|
table))
|
||||||
|
|
||||||
(define (strengthen-weak-table-ref table number)
|
(define (strengthen-weak-table-ref table number)
|
||||||
|
|
Loading…
Reference in New Issue