fix for mantis 346

This commit is contained in:
Jeff Hill
2009-07-08 21:43:38 +00:00
parent 245e9b5195
commit 42957877d9
2 changed files with 3 additions and 3 deletions

View File

@@ -92,9 +92,9 @@ void netSubscription::exception (
this->subscribed = false;
}
if ( status == ECA_CHANDESTROY ) {
this->privateChanForIO.ioCompletionNotify ( guard, *this );
this->notify.exception (
guard, status, pContext, UINT_MAX, 0 );
this->privateChanForIO.ioCompletionNotify ( guard, *this );
this->~netSubscription ();
recycle.recycleSubscription ( guard, *this );
}
@@ -116,9 +116,9 @@ void netSubscription::exception (
this->subscribed = false;
}
if ( status == ECA_CHANDESTROY ) {
this->privateChanForIO.ioCompletionNotify ( guard, *this );
this->notify.exception (
guard, status, pContext, UINT_MAX, 0 );
this->privateChanForIO.ioCompletionNotify ( guard, *this );
this->~netSubscription ();
recycle.recycleSubscription ( guard, *this );
}

View File

@@ -64,8 +64,8 @@ void netWriteNotifyIO::completion (
epicsGuard < epicsMutex > & guard,
cacRecycle & recycle )
{
this->notify.completion ( guard );
this->privateChanForIO.ioCompletionNotify ( guard, *this );
this->notify.completion ( guard );
this->~netWriteNotifyIO ();
recycle.recycleWriteNotifyIO ( guard, *this );
}