Issue #132 - Protect against hang

This commit is contained in:
Justin Ethier 2016-11-12 06:02:33 +00:00
parent ec108bdcef
commit 12770291b7

View file

@ -96,7 +96,8 @@
;; Follow references ;; Follow references
((ref? value) ((ref? value)
(with-var! value (lambda (var) (with-var! value (lambda (var)
(update-lambda-atv! (cons value syms) (adbv:assigned-value var))))) (if (not (member value syms))
(update-lambda-atv! (cons value syms) (adbv:assigned-value var))))))
(else (else
#f)) #f))
) )