I'm facing an issue with my viewport.
I'm trying to destroy an element that could appear back later, but an error occurs at this second instance.
Code:Ext.getCmp('superLog').destroy(); Ext.Viewport.add(Ext.create('myapp.view.Main')); // id=superMain (destroyed before)
Can't go further...
[WARN][Ext.Component#constructor] Registering a component with a id (`superMain`) which has already been used. Please ensure the existing component has been destroyed (`Ext.Component#destroy()`.
Hope someone can help me
Thanks a lot