code: function () {
  
  		this.popover_manager && this.popover_manager.destroy();
  		this.view_manager && this.view_manager.destroy();
  		this.app.destroy();
  		this.view_manager.destroy();
  
  	}
docs: Destroy global objects. Widgets must be destroyed manually, before calling this method.