def __del__(self): "Releases a reference to this object." if self._ptr and capi: capi.destroy_feature(self._ptr)
def __del__(self): "Releases a reference to this object." if self._ptr: capi.destroy_feature(self._ptr)
from django.contrib.gis.gdal.base import GDALBase
def __del__(self): "Releases a reference to this object." try: capi.destroy_feature(self._ptr) except (AttributeError, TypeError): pass # Some part might already have been garbage collected
def __del__(self): "Releases a reference to this object." try: capi.destroy_feature(self._ptr) except (AttributeError, TypeError): pass # Some part might already have been garbage collected