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