Add a destroy method to the view
this method reparents the containment, then gracefully destroys the view with deleteLayer() this avoid crashes during screen disconnect and reconnect
this method reparents the containment, then gracefully destroys the view with deleteLayer() this avoid crashes during screen disconnect and reconnect