code: private static void destroyControl( Object controlInstance )
      {
          assert controlInstance instanceof ControlBean : controlInstance.getClass().getName();
          BeanContext beanContext = ( ( ControlBean ) controlInstance ).getBeanContext();
          if ( beanContext != null ) {
              if(LOG.isTraceEnabled())
                  LOG.trace("Removing control " + controlInstance + " from ControlBeanContext " + beanContext);
              beanContext.remove( controlInstance );
          }
      }
docs: Destroy a Beehive Control.
  
  @param controlInstance the Control instance