Automatic Resource Reclamation
COM+ notifies the dispenser manager each time an object's lifetime ends. The dispenser manager then notifies each registered resource dispenser's Holder to see whether it has any resources still held by this object. If so, those resources are freed, preventing the possibility of resource leaks by components that get resources through a resource dispenser.
The auto-reclamation feature is an option that is turned off by default. A resource dispenser can choose to enable this option and, in doing so, guarantees that a reference to any resource dispensed to an object is never returned by the object methods.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for