<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Is there an on-garbage-collect function or something like that?<br>
<br>
Matthew Flatt wrote:<br>
<blockquote type="cite"
cite="mid200304132053.h3DKrLjH042289@slow.flux.utah.edu">
<pre wrap="">At Sun, 13 Apr 2003 19:13:39 +0200, Katsmall the Wise wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Is there any finalization needed when 'forgetting' about instants of
classes, or does the garbage collector handle this?
</pre>
</blockquote>
<pre wrap=""><!---->
The garbage collector handles everything for the built-in MrEd classes.
Certain Framework classes need "finalization" (e.g., to remove a frame
from a frame group), and it's possible to define a new class that needs
finalization (e.g., if an object opens an I/O port). The collector
certainly takes care of memory management, though, for all classes.
Matthew
</pre>
</blockquote>
</body>
</html>