[Mapserver-users] Re: [Mapserver-dev] Perl Mapscript 4 $image->free() bug
Eric Bridger
eric at gomoos.org
Tue May 4 19:39:46 PDT 2004
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.
More information about the MapServer-users
mailing list