added #aboutToExit notification
authorClaus Gittinger <cg@exept.de>
Thu, 11 Feb 1999 12:15:53 +0100
changeset 3976 bfba94385ed0
parent 3975 63fc2a08d06c
child 3977 57eb1e1f6dd0
added #aboutToExit notification
Smalltalk.st
--- a/Smalltalk.st	Thu Feb 11 12:11:04 1999 +0100
+++ b/Smalltalk.st	Thu Feb 11 12:15:53 1999 +0100
@@ -1345,13 +1345,14 @@
 exit
     "{ Pragma: +optSpace }"
 
-    "finish Smalltalk system"
-
+    "finish the Smalltalk system"
+
+    ObjectMemory changed:#aboutToExit.  "/ for ST/X backward compatibility
     ObjectMemory changed:#aboutToQuit.  "/ for ST-80 compatibility
     ExitBlocks notNil ifTrue:[
-	ExitBlocks do:[:aBlock |
-	    aBlock value
-	]
+        ExitBlocks do:[:aBlock |
+            aBlock value
+        ]
     ].
     OperatingSystem exit
 
@@ -4248,5 +4249,5 @@
 !Smalltalk class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.300 1999-02-09 11:26:23 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.301 1999-02-11 11:15:53 cg Exp $'
 ! !