1 Answer
1

Do you really need to close the whole console view or just your console?

If you need to close the whole view this is another story because it can be shown on multiple perspectives. As explained in this other question, you need to find all instances of the view and hide each one, and then the view will be disposed completely. This discussion thread even gives some code to do that.

If you need to close only the console page and not the whole view, the removeConsoles method should do it as you pointed out, and indeed it won't close the view, this is not a bug. This svn commit description may help you implement a close button on your own console. It's rather simple to make such change: