From d7df37414caf8e23ac5c5a29d5d9ecf9e9448793 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 22 Mar 2004 18:36:25 +0000 Subject: [PATCH] workaround for problems occurring when a channel or subscription is deleted in a put callback handler --- src/ca/netWriteNotifyIO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca/netWriteNotifyIO.cpp b/src/ca/netWriteNotifyIO.cpp index 43e15915c..fe4986d5d 100644 --- a/src/ca/netWriteNotifyIO.cpp +++ b/src/ca/netWriteNotifyIO.cpp @@ -86,9 +86,9 @@ void netWriteNotifyIO::exception ( cacRecycle & recycle, int status, const char * pContext ) { + this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->notify.exception ( guard, status, pContext, UINT_MAX, 0u ); - this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->~netWriteNotifyIO (); recycle.recycleWriteNotifyIO ( guard, *this ); } @@ -99,9 +99,9 @@ void netWriteNotifyIO::exception ( int status, const char *pContext, unsigned type, arrayElementCount count ) { + this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->notify.exception ( guard, status, pContext, type, count ); - this->privateChanForIO.ioCompletionNotify ( guard, *this ); this->~netWriteNotifyIO (); recycle.recycleWriteNotifyIO ( guard, *this ); }