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.pival...@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@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to