supress channel destroy exception in "old" API layer

This commit is contained in:
Jeff Hill
2001-08-16 01:19:52 +00:00
parent 9bbb9c1314
commit 93e745ef83
3 changed files with 25 additions and 19 deletions

View File

@@ -64,8 +64,11 @@ void getCopy::completion ( unsigned typeIn,
void getCopy::exception (
int status, const char *pContext, unsigned /* typeIn */, arrayElementCount /* countIn */ )
{
this->cacCtx.exception ( status, pContext,
__FILE__, __LINE__, this->chan, this->type, this->count, CA_OP_GET );
if ( status != ECA_CHANDESTROY ) {
this->cacCtx.exception ( status, pContext,
__FILE__, __LINE__, this->chan, this->type,
this->count, CA_OP_GET );
}
delete this;
}