From 48d48343ae6b979f3f36654449fbef41ae2cdd84 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 22 Mar 2004 18:35:54 +0000 Subject: [PATCH] workaround for problems occurring when a channel or subscription is deleted in a get callback handler --- src/ca/netReadNotifyIO.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/netReadNotifyIO.cpp b/src/ca/netReadNotifyIO.cpp index b9bac9046..3da905f8b 100644 --- a/src/ca/netReadNotifyIO.cpp +++ b/src/ca/netReadNotifyIO.cpp @@ -64,8 +64,8 @@ void netReadNotifyIO::completion ( arrayElementCount count, const void * pData ) { //guard.assertIdenticalMutex ( this->mutex ); - this->notify.completion ( guard, type, count, pData ); this->privateChanForIO.ioCompletionNotify ( guard, *this ); + this->notify.completion ( guard, type, count, pData ); this->~netReadNotifyIO (); recycle.recycleReadNotifyIO ( guard, *this ); } @@ -87,9 +87,9 @@ void netReadNotifyIO::exception ( int status, const char *pContext ) { //guard.assertIdenticalMutex ( this->mutex ); + this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->notify.exception ( guard, status, pContext, UINT_MAX, 0u ); - this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->~netReadNotifyIO (); recycle.recycleReadNotifyIO ( guard, *this ); } @@ -101,9 +101,9 @@ void netReadNotifyIO::exception ( unsigned type, arrayElementCount count ) { //guard.assertIdenticalMutex ( this->mutex ) + this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->notify.exception ( guard, status, pContext, type, count ); - this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->~netReadNotifyIO (); recycle.recycleReadNotifyIO ( guard, *this ); }