> Dolphin shows us the correct path: session awareness.  The image "wakes up"
> and decides where it is running - the vm can certainly help in Pharo's
> case.  External resources are *not* cleared on image save - the image might
> keep running, so why release and reallocate?  Finalization is best-effort.
> External resources are cleared just before exiting, but *after* any
> associated image save.  When the image wakes, one of its first duties is to
> clear (not release via calls) any external resources, because they are known
> to be garbage at this point.
>
> It works, and works well.

I don't have experience with Dolphin, but that does sound like a
clever solution to avoiding the release/reallocate burden on image
save (and not exiting)..

Reply via email to