[mapguide-commits] r4263 - trunk/MgDev/Common/PlatformBase/MapLayer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Sep 25 17:08:33 EDT 2009


Author: brucedechant
Date: 2009-09-25 17:08:33 -0400 (Fri, 25 Sep 2009)
New Revision: 4263

Modified:
   trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp
Log:
Fix for trac ticket 1107 - Spatial context reader not being closed for selection
http://trac.osgeo.org/mapguide/ticket/1107

Notes:
- Added missing Close()


Modified: trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp
===================================================================
--- trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp	2009-09-25 21:00:19 UTC (rev 4262)
+++ trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp	2009-09-25 21:08:33 UTC (rev 4263)
@@ -914,6 +914,7 @@
                 featureSourceCoordsys = spatialContextReader->GetCoordinateSystemWkt();
             }
         }
+        spatialContextReader->Close();
     }
     if(!featureSourceCoordsys.empty())
     {



More information about the mapguide-commits mailing list