SPSite.Exists leaks SPSites

Posted on Leave a commentPosted in Uncategorized

The Share­point Object Mod­el is a painful, leak-prone API to work with. Roger Lamb's MSDN blog arti­cle is a great ref­er­ence for decid­ing when you need to dis­pose of objects and when doing so will break things, but it's neces­si­ty is pret­ty pow­er­ful evi­dence of how clunky dis­pos­al is imple­ment­ed in this man­aged code API. In […]