make tcpiiu object unavailable to udp before shutting it down

This commit is contained in:
Jeff Hill
2001-01-31 01:58:47 +00:00
parent e7200ab600
commit 321dae127a
+6 -5
View File
@@ -251,7 +251,6 @@ void cac::processRecvBacklog ()
if ( ! piiu->alive () ) {
assert ( this->pudpiiu && this->pSearchTmr );
bhe *pBHE = piiu->getBHE ();
if ( ! this->enablePreemptiveCallback ) {
if ( this->fdRegFunc ) {
@@ -260,6 +259,12 @@ void cac::processRecvBacklog ()
}
}
bhe *pBHE = piiu->getBHE ();
if ( pBHE ) {
this->beaconTable.remove ( *pBHE );
pBHE->destroy ();
}
if ( piiu->channelCount () ) {
char hostNameTmp[64];
piiu->hostName ( hostNameTmp, sizeof ( hostNameTmp ) );
@@ -276,10 +281,6 @@ void cac::processRecvBacklog ()
this->iiuList.remove ( *piiu );
this->iiuListLimbo.add ( *piiu );
if ( pBHE ) {
this->beaconTable.remove ( *pBHE );
pBHE->destroy ();
}
this->pSearchTmr->resetPeriod ( CA_RECAST_DELAY );
}