Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET Page Not Releasing COM Object
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00754450
Message ID:
00754963
Views:
22
Something new on this. I just discovered the ReleaseComObject method. I have it in my aspx page like this:
scmal.StateCentralClass scMal = new scmal.StateCentralClass();
while (System.Runtime.InteropServices.Marshal.ReleaseComObject( scMal ) > 0) {}
in order to reduce the reference count to zero. I am going to experiment with it in my page and see if it makes my VFP objects "go away" any faster than just doing
scmal.StateCentralClass scMal = new scmal.StateCentralClass();
scMal = null;
Maybe Ed Ruah or Rick Strahl will smell this thread and lend their $.02 as well....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform