Cleanup: do not save initial image
Restarting from an image was always troublesome, expecially
on Windows. Loading from scratch is fast enough nowadays.
--- a/smalltalk.rc Fri Dec 30 22:37:26 2016 +0000
+++ b/smalltalk.rc Fri Dec 30 22:42:05 2016 +0000
@@ -827,31 +827,3 @@
Smalltalk showSplashMessage:('done.').
]
].
-
-"/
-"/ save an initial image; this will speedup the next startup
-"/ (since all autoload-stuff will already be initialized)
-"/
-((Smalltalk commandLineArguments includes:'--quick')
- or:[(Smalltalk commandLineArguments includes:'--faststart')
- or:[(Smalltalk commandLineArguments includes:'--fastStart')
- or:[(Smalltalk isPlugin)
-]]]) ifFalse:[
- ('st.img' asFilename exists not and:[Filename currentDirectory isWritable]) ifTrue:[
- |doneWithStartupStuff|
-
- doneWithStartupStuff := Semaphore new.
-
- Smalltalk addStartBlock:[
- [
- doneWithStartupStuff wait.
- 'smalltalk.rc [info]: saving initial image for faster future startup...' infoPrintCR.
- ObjectMemory primSnapShotOn:'st.img'
- ] forkAt:1.
- [
- Delay waitForSeconds:10.
- doneWithStartupStuff signal
- ] forkAt:1.
- ].
- ].
-].