June 27, 2012
12:50 p.m.
Select the three statements at once and evaluate them: NonInteractiveTranscript stdout install. Smalltalk snapshot: true andQuit: true. Transcript show: 'hello'. Then reopen your image... Bump! stdout is closed. Of course, It got closed when the image quitted, but the NonInteractiveTranscript kept the reference to an invalid fileStream... What should be a good solution for this? - catch the error on the transcript and if closed reopen the file? - subscribe to the shutdown list to void the reference? - adding a SystemShutdown announcement and subscribe to it? The third one seems... cleaner. But I'm not sure. Guille