diff --git a/src/seq/seq_ca.c b/src/seq/seq_ca.c index bfd6cb60976a5ef8a1f3ffc9465d009d42a62a4f..bc77b546866e2843bdfaf40dbff3e9ea339fa871 100644 --- a/src/seq/seq_ca.c +++ b/src/seq/seq_ca.c @@ -358,18 +358,6 @@ void seq_disconnect(PROG *sp) if (status != pvStatOK) errlogSevPrintf(errlogFatal, "seq_disconnect(var '%s', pv '%s'): pvVarDestroy() failure: " "%s\n", ch->varName, dbch->dbName, pvVarGetMess(dbch->pvid)); - - /* Clear monitor & connect indicators */ - if (dbch->connected) - { - dbch->connected = FALSE; - sp->connectCount--; - } - if (dbch->gotMonitor) - { - dbch->gotMonitor = FALSE; - sp->gotMonitorCount--; - } } epicsMutexUnlock(sp->lock);