[squeak-dev] Re: Why do we process the shutdown list if not snapshotting?

Chris Muller asqueaker at gmail.com
Mon Apr 18 16:11:36 UTC 2016


> But good practice is to close DB connections when app is closing for example
>
>
> Agreed. Bug do you agree that #save is not a time to close, whereas
> #saveAndQuit and #quit are?

Wait, I don't, for the exact reason Denis mentions above.  When I save
the image, regardless whether its gonna be shut down, Magma will close
down, so that the state of the saved image is not with open files,
sockets, etc.

On a save-and-resume, it then goes ahead and Re-Opens everythiing.
Sure, this forces it to go through its shutdown/startup routine on a
save but... so what?  Couldn't your external memory pointers re-init
themselves similarly?  What is the goal here, to improve performance
of saving the image?


More information about the Squeak-dev mailing list