[comp.windows.ms.programmer] Actor question: a:=new

pcb@basin04.cacs.usl.edu (Peter C. Bahrs) (03/24/91)

A question about garbage collection in Actor.  When I instantiate a
new object as in a:=new(ClassA); and I am no longer interested in a,
how do I get rid of it?  Is there a GC running?  For instance,
allocating a collection and filling it with some objects. Now I 
do not need is any longer.  Now what?  I say the destroy object
for memory objects and huge bitmaps but not for anything else.

I guess I am looking for the comparable method to the C++ destructor and
using free().


/*----------- Thanks in advance... --------------------------------------+
| Peter C. Bahrs      pcb@swamp.cacs.usl.edu                             |
| The USL-NASA Project                                                   |
| Center For Advanced Computer Studies                                   | 
| 2 Rex Street                                                           |
| University of Southwestern Louisiana                                   |
| Lafayette, LA 70504                                                    |
+-----------------------------------------------------------------------*/