<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Object Destruction (or how to destroy instance)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Inspect those instances and lookup refrences to them via the menu bar. They will be collected only if no one has a hard reference to them.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: seaside@lists.squeakfoundation.org &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Wed Sep 12 01:43:01 2007<BR>
Subject: [Seaside] Object Destruction (or how to destroy instance)<BR>
<BR>
Hello Guys!<BR>
<BR>
Maybe this question is more about smalltalk than about seaside, so&nbsp;<BR>
i'm sorry.<BR>
<BR>
In my reporting application i have following problem:<BR>
Some components of my seaside application working with Business Model&nbsp;<BR>
copies.<BR>
I do it to have ability to revert changes. If user wants to save&nbsp;<BR>
changes, database collection<BR>
just replaces old business objects with their updated copies. So&nbsp;<BR>
everything works just fine.<BR>
<BR>
But there is a question: If i ask VisualWorks to show all instances&nbsp;<BR>
of Business Model, i can also<BR>
see old models, which were replaced by newer ones in DB collections.&nbsp;<BR>
So some instances &quot;just flying<BR>
in the air&quot;. How can i destroy them (something like calling&nbsp;<BR>
destructor in C++). Or thats a not a problem and<BR>
they will be killed by garbage collector sometime? If so, when they&nbsp;<BR>
will be killed?<BR>
<BR>
Cheers, Oleg<BR>
_______________________________________________<BR>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>