[Mapserver-users] Re: [Mapserver-dev] Perl Mapscript 4 $image->free() bug

Eric Bridger eric@gomoos.org
Tue, 04 May 2004 22:39:46 -0400


At 11:15 PM 05/04/2004 +0100, Sean Gillies wrote:
 
>Eric,
>
>There should be no need to free images.  I've made changes to mapscript
>so that Perl's garbage collector sweeps up all instances of imageObj
>and calls the DESTROY method (known as ~imageObj() in mapscript.i).
>In fact, you shouldn't have to explicitly free any objects anymore.
>Sorry that I haven't made this clear in the development docs.
>
>If you don't want to wait for garbage collection, undef the instance
>rather than calling its free() method.


Excellent Sean. Thanks.


 

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users