Who calls Page.Dispose

bri189a

Senior Contributor
Joined
Sep 11, 2003
Messages
1,004
Location
VA
So I read some great aritcles on MSDN about garbage collection - have a better understanding now and I went to do some expierments. I was always under the impression that ASPNET_WP calls dispose on the code behind Page class and being a naming container it would dispose all of it's children.

I did some Debug.WriteLine in the Dispose event and it's never called. It's no wonder in my other post that memory increases expedentially. Is this by design? I don't understand why it would do this.

I guess maybe it could be on a differant thread, but would that keep the Debug.WriteLine from being visible???

I'm confused, what I though I knew I don't, maybe I'm over thinking tonight. :/
 
Last edited:
Back
Top