[mapguide-commits] r4265 - branches/2.1/MgDev/Common/PlatformBase/MapLayer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Sep 26 18:31:04 EDT 2009


Author: brucedechant
Date: 2009-09-26 18:31:04 -0400 (Sat, 26 Sep 2009)
New Revision: 4265

Modified:
   branches/2.1/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: branches/2.1/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp
===================================================================
--- branches/2.1/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp	2009-09-25 22:02:18 UTC (rev 4264)
+++ branches/2.1/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp	2009-09-26 22:31:04 UTC (rev 4265)
@@ -914,6 +914,7 @@
                 featureSourceCoordsys = spatialContextReader->GetCoordinateSystemWkt();
             }
         }
+        spatialContextReader->Close();
     }
     if(!featureSourceCoordsys.empty())
     {



More information about the mapguide-commits mailing list