this.taskPendingToFinish = (ItsNatNormalCometEventListenerWrapperImpl)clientDoc.removeCometTask(listenerId);
}
else throw new ItsNatException("Malformed URL/request",clientDoc);
}
GenericTaskImpl task = taskPendingToFinish.getGenericTask();
if (!task.mustWait())
{
task.dispose(); // Si ya se llam� no hace nada
ItsNatGenericTaskEventListenerWrapperImpl listener = this.taskPendingToFinish;
this.taskPendingToFinish = null;
return new ResponseGenericTaskEventImpl(this,listener);
}