From: Aapo L. <aap...@pr...> - 2002-12-04 20:34:14
|
> What guarantees does Maverick make about when / wether discard() will be > called? Is it *guaranteed* to be called in the case of an exception, etc? I checked this today, and found out that it gives tou no guarantees, until I posted a patch. > -----Original Message----- > From: Aapo Laakkonen [mailto:aap...@pr...] > Sent: Wednesday, December 04, 2002 5:02 AM > To: mav...@li... > Subject: [Mav-user] FW: ModelLifeTime / discard() not guaranteed > > I think that Maverick should guarantee that discard() method of > ModelLifetime implementing classes get's called whatever happens > during rendering view or executing command. > > Here is my modifications to CommandBase class go() method: > > ... Good idea. Now checked into CVS. Jeff |