delete TopComponent
I'm trying to implement a "close session" action in my application.
I
need to delete an instance of my current TopComponent and then create a
new one.
The problem is that the new instance of TC doesn't override
the old one.
How could I do that?