Skip to content
  • Eric Timmons's avatar
    In CLEAR-CONFIGURATION-AND-RETRY restart, clear the session cache only if it exists · 37861104
    Eric Timmons authored and Robert Goldman's avatar Robert Goldman committed
    An effect of UPGRADE-ASDF always returning true is that a nested session was
    unconditionally started by the :AROUND method on OPERATE. This means
    that *ASDF-SESSION* was always bound to a session object whenever any real work
    was being done.
    
    Now that UPGRADE-ASDF does not unconditionally return T, it's likely that
    CLEAR-CONFIGURATION-AND-RETY will be invoked in the first
    CALL-WITH-ASDF-SESSION on the stack and *ASDF-SESSION* will be bound to
    NIL. So, check that it's not NIL before we grab its SESSION-CACHE.
    37861104