The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
138 views

SPLongOperation usage and SPDisposeCheck

I'm trying to use SPLongOperation like in the snippet below. When I run SPDisposeCheck, I get an error. So I have these questions: Wouldn't the using statement call Dispose() on SPSite when ...
2
votes
3answers
803 views

SPDispose false positive

I got many warnings from the SPDispose checker like this: ID: SPDisposeCheckID_140 Module: xx.xx.dll Method: xx.xx.Layouts.xx.UpdateWorkspace.Page_Load(System.Object,System.EventArgs) Statement: ...
0
votes
2answers
482 views

SPDisposeCheck on SPLimitedWebPartManager ImportWebPart method

(This question is related to MOSS 2007. Might also apply to Sharepoint 2010) I have run SPDisposeCheck v1.3.1 to detect memory leaks in a solution. There is one issue found that I can't seem to ...
2
votes
2answers
87 views

SPDisposeChecker, is this a false positive?

We have the following code: foreach (SPWeb website in collectionOfWebSites) { // Some code, no dispose of website } SPDisposeChecker is reporting it as a memory leak. Should ...