[omniORB] typecode problem
Vasily Tchekalkin
Bacek@yandex-team.ru
Tue Mar 4 15:07:01 2003
Hello.
I'm use omniORB4 for some CORBA/HTTP/XML based service. Almost works
fine, except typecodes. Under heavy load within couple of hours I begin
catching omniORB::fatalException in typecode.cc, line 916.
Into typecode.cc I've found that code:
---------
// OMG TypeCode release function
void
CORBA::release(TypeCode_ptr o)
{
OMNIORB_ASSERT(CORBA::TypeCode::PR_is_valid(o));
if( CORBA::TypeCode::PR_is_valid(o) && !CORBA::is_nil(o) )
TypeCode_collector::releaseRef(ToTcBase(o));
}
---------
Can anyone explain why perform typecode check twice and can I simple
comment out line with assert?
--
Vasily Tchekalkin
Yandex development team.