Re: [gdal-dev] C# OGR and memoryproblems.

2008-10-13 Thread Tamas Szekeres
2008/10/13 Hallgren, Johan <[EMAIL PROTECTED]>: > Let's see here. What are you meaning with "open-shared option" you're mention? > Creating the Dataset by using Gdal.OpenShared() for example. > We tried to use Dispose() on datasource but the program crashed immediately. > Then we used feature.

RE: [gdal-dev] C# OGR and memoryproblems.

2008-10-13 Thread Hallgren, Johan
: Hallgren, Johan Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] C# OGR and memoryproblems. Johan, Assuming you don't use the open-shared option the destructor of the object should destroy the underlying dataset. For the garbage collected environments (like .NET) it would be reasonable to

Re: [gdal-dev] C# OGR and memoryproblems.

2008-10-10 Thread Tamas Szekeres
Johan, Assuming you don't use the open-shared option the destructor of the object should destroy the underlying dataset. For the garbage collected environments (like .NET) it would be reasonable to put this mechanism into an earlier method like Dispose, however it would require some further invest