SPSite & SPWeb implements the IDisposable interface, and hence must be explicitly disposed after use to avoid memory leaks. A must read blog on the subject:
Roger Lamb's SharePoint Developer Blog - SharePoint 2007 and WSS 3.0 Dispose Patterns by Example
Unquoted – Combining vuln data with processes
10 months ago
No comments:
Post a Comment