FINALIZER
Finalizer
In object-oriented programming languages that use garbage collection, a finalizer is a special method that is executed when an object is garbage collected. It is similar in function to a destructor. In less technical terms, a finalizer is a piece of code that ensures that certain necessary actions are taken when an acquired resource is no longer being used. This could be closing the file or signalling to the operating system that the hardware device is no longer needed. However, as noted below, finalizers are not the preferred way to accomplish this and for the most part are fail-safe.The above text is a snippet from Wikipedia: Finalizer
and as such is available under the Creative Commons Attribution/Share-Alike License.
finalizer
Noun
- In some programming languages, a function that runs when an object is garbage collected, similar to a destructor.
The above text is a snippet from Wiktionary: finalizer
and as such is available under the Creative Commons Attribution/Share-Alike License.