- The typical usage is Deinitialization:>expr.
- Deinitialization is typically done when the cell containing a construct is deleted, or when the notebook containing it is closed.
- Deinitialization will never be performed unless initialization has previously been performed.
- Deinitialization may be delayed if, for example, a construct appears in an invisible location such as the clipboard.
- An object that has been deinitialized can be initialized again if it is restored as a result of using Undo. It may be deinitialized again through the use of Redo or any other action that deletes the object.
Examplesopen allclose all
Basic Examples (3)
Properties & Relations (1)
Each time a Dynamic destroys a deinitializing construct, the deinitialization will run again:
Wolfram Research (2007), Deinitialization, Wolfram Language function, https://reference.wolfram.com/language/ref/Deinitialization.html.
Wolfram Language. 2007. "Deinitialization." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Deinitialization.html.
Wolfram Language. (2007). Deinitialization. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Deinitialization.html