Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET Page Not Releasing COM Object
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00754450
Message ID:
00754963
Vues:
29
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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform