id summary reporter owner description type status priority milestone component version severity resolution keywords cc browser external_id os state 229 MapGuide FeatureReaders not being closed properly? jbirch madair "There are a few cases where I believe an !MgFeature is being opened and not being closed properly. -------------------------------------------- 1) I believe that for: trunk/layers/MapGuide/php/Query.php There is an !MgFeatureReader being opened on line 199 which is being closed on line 268. However, on line 261, I believe that a second !MgFeatureReader is being opened using the same variable name without closing the initial !MgFeatureReader first, and that this second reader is never closed. 2) It looks to me that in the file trunk/widgets/Search/Search.php The !MgFeatureReader called $features is only closed in the exception handling logic, not in the normal code stream. 3) In: trunk/widgets/SelectWithin/SelectWithin.php On line 109, it appears that an !MgFeatureReader called $featureReader is opened but not closed. -------------------------------------------- I believe that these may be the (partial?) cause of a problem I am having with running out of connections. " defect closed P2 2.0 Widgets 1.1.1 Major fixed All All New