Skip to content

Commit

Permalink
Don't leak NILs into dependency chain.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Aug 22, 2023
1 parent 1fd4a59 commit 2a33150
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loader.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
(:invalid
(setf (gethash object status) :temporary)
(dolist (dependency (dependencies object))
(visit dependency))
(when dependency
(visit dependency)))
(setf (gethash object status) :validated)
(if (< i (length sequence))
(setf (aref sequence i) object)
Expand Down

0 comments on commit 2a33150

Please sign in to comment.