X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsave.lisp;h=0373fcef262bc3211f559e21886dc077c5bd45bd;hb=a01e7ac2e8a9f3afae8f759381a0829fceb5bfde;hp=bb0bcc5bd24ae007e8d3153326440bd39c395542;hpb=77d46c398278c0bbe221722c21c01d47713cd878;p=sbcl.git diff --git a/src/code/save.lisp b/src/code/save.lisp index bb0bcc5..0373fce 100644 --- a/src/code/save.lisp +++ b/src/code/save.lisp @@ -147,9 +147,7 @@ sufficiently motivated to do lengthy fixes." (save-core t))))) (defun deinit () - (dolist (hook *save-hooks*) - (with-simple-restart (continue "Skip this save hook.") - (funcall hook))) + (call-hooks "save" *save-hooks*) (when (rest (sb!thread:list-all-threads)) (error "Cannot save core with multiple threads running.")) (float-deinit)