CleanForFree
m ((username removed) (log details removed))
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
When you subclass stuff from MDriven Framework, you may need to implement a method called ''CleanForFree''.
When you subclass stuff from MDriven Framework, you may need to implement a method called ''CleanForFree''.



Revision as of 22:41, 16 June 2024

Write the content here to display this box

When you subclass stuff from MDriven Framework, you may need to implement a method called CleanForFree.

The CleanForFree is part of a pattern and is called once it has been decided that an object will never be used again (i.e., disposed of).

CleanForFree is a softer version of Dispose where you release kept references so that the Garbage collection will classify objects as deleted faster than if they are connected to other things. Think of CleanForFree as disassembling large objects structures as you would with normal garbage to make them decompose faster.

This page was edited 24 days ago on 08/26/2024. What links here