public void destroy() {
   ContentViewCore contentView = this.getContentViewCore();
   if (contentView != null) {
     contentView.destroy();
   }
 }