[squeak-dev] Re: Why do we process the shutdown list if not
snapshotting?
Eliot Miranda
eliot.miranda at gmail.com
Mon Apr 18 13:03:23 UTC 2016
Hi Denis,
> On Apr 18, 2016, at 1:07 AM, Denis Kudriashov <dionisiydk at gmail.com> wrote:
>
> Hi
>
> 2016-04-18 8:40 GMT+02:00 marcel.taeumel <Marcel.Taeumel at hpi.de>:
>> Hi there,
>>
>> there are three different scenarios for shutdown:
>>
>> 1. Save and resume
>> 2. Save and quit
>> 3. Quit only
>>
>> For general clean-up routines, 1 and 2 should clean-up, while 3 does not
>> have to. So, one variable might be sufficient. :-)
>>
>> Any other ways of using shutdown?
>
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160418/354f2baa/attachment.htm
More information about the Squeak-dev
mailing list
|