<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=843533704-11072007><FONT face=Arial><FONT
color=#0000ff size=2>On a related note, I see that the Dispose() method for
DataSource ultimately calls the OGRReleaseDataSource() method. Shouldn't this be
calling OGR_DS_Destroy() instead? The latter method is the one I used in the
hand-rolled C# wrapper class.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843533704-11072007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=843533704-11072007><FONT face=Arial
color=#0000ff size=2>Richard</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> gdal-dev-bounces@lists.maptools.org
[mailto:gdal-dev-bounces@lists.maptools.org] <B>On Behalf Of </B>Richard
Matsunaga<BR><B>Sent:</B> July 10, 2007 11:59 PM<BR><B>To:</B>
gdal-dev@lists.maptools.org<BR><B>Subject:</B> [Gdal-dev] C# Dataset not
calling GDALClose()?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial
size=2>Tamas,</FONT></SPAN></DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial size=2>Shouldn't
Dataset.Dispose() be calling GDALClose()? I'm trying to track down a resource
issue and wondering if this is a potential problem?</FONT></SPAN></DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=484445603-11072007><FONT face=Arial
size=2>Richard</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>