fixed io cancel shutdown order problem

This commit is contained in:
Jeff Hill committed 2004-01-15 02:52:28 +00:00
1 parent a2531d6bc9
commit 67fbf44633
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -311,6 +311,8 @@ void dbContext::ioCancel (
dbSubscriptionIO *pSIO = pIO->isSubscription ();
if ( pSIO ) {
chan.dbContextPrivateListOfIO::eventq.remove ( *pSIO );
pSIO->unsubscribe ( guard );
pSIO->channelDeleteException ( guard );
pSIO->destructor ( guard );
this->dbSubscriptionIOFreeList.release ( pSIO );
}
-1
View File
@@ -69,7 +69,6 @@ dbSubscriptionIO::~dbSubscriptionIO ()
void dbSubscriptionIO::destructor ( epicsGuard < epicsMutex > & guard )
{
guard.assertIdenticalMutex ( this->mutex );
this->unsubscribe ( guard );
this->~dbSubscriptionIO ();
}