[plt-scheme] Finalization

From: Katsmall the Wise (kela_bit at netvision.net.il)
Date: Sun Apr 13 16:55:01 EDT 2003

Is there an on-garbage-collect function or something like that?

Matthew Flatt wrote:

>At Sun, 13 Apr 2003 19:13:39 +0200, Katsmall the Wise wrote:
>  
>
>>Is there any finalization needed when 'forgetting' about instants of 
>>classes, or does the garbage collector handle this?
>>    
>>
>
>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
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20030413/0247888e/attachment.html>

Posted on the users mailing list.