destroy

Destroys the view model. Should be called to properly clean up the view model when it is no longer needed.

See also