<!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 <seaside-bounces@lists.squeakfoundation.org><BR>
To: seaside@lists.squeakfoundation.org <seaside@lists.squeakfoundation.org><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 <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 <BR>
copies.<BR>
I do it to have ability to revert changes. If user wants to save <BR>
changes, database collection<BR>
just replaces old business objects with their updated copies. So <BR>
everything works just fine.<BR>
<BR>
But there is a question: If i ask VisualWorks to show all instances <BR>
of Business Model, i can also<BR>
see old models, which were replaced by newer ones in DB collections. <BR>
So some instances "just flying<BR>
in the air". How can i destroy them (something like calling <BR>
destructor in C++). Or thats a not a problem and<BR>
they will be killed by garbage collector sometime? If so, when they <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>