Dispose a console view.

 Close #833