Quantcast
Channel: cascddlistwithfilter Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 20

Commented Issue: SPSite and SPWeb not disposed [28156]

$
0
0
The source delivered contains a couple of un-disposed SPSite and SPWeb's. This should be fixed to save resources.
It can be easily done by searching for "new SPSite" in the solution an then placing a nice and easy "using" around all hits. I done it myself, but it would be nice if the delivered solution would already contain code following this simple best practice for sharepoint development.
Comments: ** Comment from web user: vikoprte **

I agree - It would be good to modify the source code to follow best practice on disposal. You can use the SPDisposeCheck tool to validate the source code.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>