[Gdal-dev] C# Dataset not calling GDALClose()?
Tamas Szekeres
szekerest at gmail.com
Wed Jul 11 05:57:56 EDT 2007
Richard,
GDAL uses a reference counting on the dataset so the interface actually uses:
if ( GDALDereferenceDataset( self ) <= 0 ) {
GDALClose(self);
}
when destroying the C# wrapper class.
Best regards,
Tamas
2007/7/11, Richard Matsunaga <richard.matsunaga at waypointinfo.com>:
>
>
> Tamas,
>
> Shouldn't Dataset.Dispose() be calling GDALClose()? I'm trying to track down
> a resource issue and wondering if this is a potential problem?
>
> Thanks,
> Richard
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
More information about the Gdal-dev
mailing list