X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fsave.lisp;h=8d414eaf807869fcacab2b22f7efd229a3dc3e1e;hb=cd1b14acf6f548b28b8a14e554d779f0473122ec;hp=fa99ce0ea7e820563fcdd11d189614ab70f3e143;hpb=f0da2f63aa0b4e6d4dbf884854a4bf2dfdd01fc0;p=sbcl.git diff --git a/src/code/save.lisp b/src/code/save.lisp index fa99ce0..8d414ea 100644 --- a/src/code/save.lisp +++ b/src/code/save.lisp @@ -55,7 +55,7 @@ The following &KEY arguments are defined: The function to run when the created core file is resumed. The default function handles command line toplevel option processing and runs the top level read-eval-print loop. This function returning - is equivalent to (SB-EXT:QUIT :UNIX-STATUS 0) being called. + is equivalent to (SB-EXT:EXIT :CODE 0) being called. TOPLEVEL functions should always provide an ABORT restart: otherwise code they call will run without one. @@ -194,11 +194,12 @@ sufficiently motivated to do lengthy fixes." (defun deinit () (call-hooks "save" *save-hooks*) + #!+sb-wtimer + (itimer-emulation-deinit) (when (rest (sb!thread:list-all-threads)) (error "Cannot save core with multiple threads running.")) (float-deinit) (profile-deinit) - (debug-deinit) (foreign-deinit) (stream-deinit) (deinit-finalizers)