Hello Steve.

Ok. Thanks for your response.

Regards.

Le jeu. 23 avr. 2020 à 15:46, Steve Lime <[email protected]> a écrit :

> 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 <[email protected]>
> 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
>> [email protected]
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to