finalization order?

Alejandro F. Reimondo aleReimondo at smalltalking.net
Thu Jan 8 13:03:28 UTC 2004


Try to make only the connection (not the handle) to be finalized.
Consider the handle as a private instance of the connection (it's owner).
cheers,
Ale.

----- Original Message ----- 
From: "Ragnar Hojland Espinosa" <ragnar at linalco.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Thursday, January 08, 2004 10:02 AM
Subject: finalization order?


> I have the equivalent of the following:
> 
>    handle _ MyHandle new.
>    conn _ MyConnection newUsing: handle
> 
> When handle and conn are GCed, I was expecting first for conn to be
> finalized and then for handle.  Thats happens almost all the time but
> not always, which is quite inadecuate.. can I do something about it?
> 
> -- 
> Ragnar Hojland - Project Manager
> Linalco "Specialists in Linux and Free Software"
> http://www.linalco.com  Tel: +34-91-4561700
> 




More information about the Squeak-dev mailing list