Stop pointing to it.  It will go away on its own.  ie

conn := PGConnection new connect.
conn isConnected ifFalse: [conn := nil]. "Reference gone - object collected"

On Tuesday, May 09, 2006, at 07:41AM, cdrick <[EMAIL PROTECTED]> wrote:

>
><<Original Attached>>_______________________________________________
>Beginners mailing list
>[email protected]
>http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
Hi...

I d like to know if there is a way to force garbage collection of objects (still referenced)...
I often need that when triing to connect ot a database for instance... If it fails, the connection object is still in memory


Thanks

Cédrick
_______________________________________________
Beginners mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to