/**
 * @file EC_Channel_Destroyer.cpp
 *
 * EC_Channel_Destroyer.cpp,v 1.1 2003/06/18 05:40:17 jwillemsen Exp
 *
 * @author Marina Spivak <marina@atdesk.com>
 */

#include "EC_Channel_Destroyer.h"

void
TAO_EC_Channel_Destroyer_Functor::operator() (
                           TAO_EC_Event_Channel_Base * event_channel)
  ACE_THROW_SPEC (())
{
  ACE_DECLARE_NEW_CORBA_ENV;
  ACE_TRY
    {
      event_channel->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHALL
    {
    }
  ACE_ENDTRY;
}
