[mapguide-commits] r4339 -
branches/2.1/MgDev/Common/PlatformBase/Services
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Nov 10 13:27:23 EST 2009
Author: brucedechant
Date: 2009-11-10 13:27:22 -0500 (Tue, 10 Nov 2009)
New Revision: 4339
Modified:
branches/2.1/MgDev/Common/PlatformBase/Services/SpatialContextReader.cpp
Log:
Fix for trac ticket 1107 - Spatial context reader not being closed
http://trac.osgeo.org/mapguide/ticket/1107
Notes:
- Change Close() method to not clear the internal collection
Modified: branches/2.1/MgDev/Common/PlatformBase/Services/SpatialContextReader.cpp
===================================================================
--- branches/2.1/MgDev/Common/PlatformBase/Services/SpatialContextReader.cpp 2009-11-09 22:15:35 UTC (rev 4338)
+++ branches/2.1/MgDev/Common/PlatformBase/Services/SpatialContextReader.cpp 2009-11-10 18:27:22 UTC (rev 4339)
@@ -171,7 +171,6 @@
/// </summary>
void MgSpatialContextReader::Close()
{
- m_spatialContextCol.Clear();
}
//////////////////////////////////////////////////////////////
@@ -189,7 +188,7 @@
//////////////////////////////////////////////////////////////
MgSpatialContextReader::~MgSpatialContextReader()
{
- this->Close();
+ m_spatialContextCol.Clear();
}
//////////////////////////////////////////////////////////////
More information about the mapguide-commits
mailing list