Re: call to GCHeap::Shutdown()
Jan Kotas <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.rotor |
|---|---|
| Message-ID | <DD12668590C9274E9B2226FDBD02B98807DB8D88@red-msg-08.redmond.corp.microsoft.com> |
sscoree is not designed to be unloaded from the process except on shutdown. Only critical cleanup - like running of object finalizers - is done during the shutdown. Non-critical cleanup - like releasing allocated memory - is left for the operating system as an exercise. If you are trying to do a critical cleanup in GCHeap::Shutdown, a good place to call it may be ceemain.cpp right before TerminateDebugger(). -Jan This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[email protected]] On Behalf Of Archana Sent: Tuesday, July 22, 2003 10:12 PM To: [email protected] Subject: [DOTNET-ROTOR] call to GCHeap::Shutdown() Hi, which is the right place to call GCHeap::Shutdown(..) to cleanup all the resources etc.. if it is already there in the code, i am not able to locate it regards archana