This project is read-only.

Termination

Termination, like Initialization, is implemented in all VBA classes by default. Similar to the concept of a class destructor, the default method, Class_Terminate() is called only when all references to an object have been destroyed. In the implementation of the Composite Controls object model, default termination could not effectively manage memory resources because circular referencing would guarantee that objects would never be entirely de-referenced. This required the implementation of a specific Terminate() method, which could be called at an appropriate time. Using this method, references to other objects could be effectively terminated, allowing for objects to be completely de-referenced and resources inevitably freed.
Glossary

Last edited Dec 16, 2010 at 4:35 AM by vba_junkie, version 2

Comments

No comments yet.