dispose

abstract override fun dispose()(source)

Dispose of the custom document.

This is invoked by the editor when there are no more references to a given CustomDocument (for example when all editors associated with the document have been closed.)

Online Documentation