[mapserver-users] free() methods
Steve Lime
sdlime at gmail.com
Thu Apr 23 06:46:20 PDT 2020
With SWIG MapScript, the de-allocation of objects happens behind the
scenes, so as objects go out of scope their resources are free'd IF the
object is not referenced by another one. --Steve
On Tue, Apr 21, 2020 at 6:05 AM Robert Pivalone <robert.pivalone at gmail.com>
wrote:
> Hello.
>
> In MapServer 6 / 7 + PHP MapScript API, labelObj, layerObj, mapObj,
> classObj, shapeObj and styleObj have a "free()" method.
>
> In MapServer 7.x + SWIG MapScript API, it seems there are no "free()"
> method. Are they not exposed ? or useless now ?
>
> Regards.
>
> PS : From the PHP MapScript API documentation : void free() : Free the
> object properties and break the internal references. Note that you have to
> unset the php variable to free totally the resources.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200423/73a875a2/attachment.htm>
More information about the MapServer-users
mailing list