diff --git a/examples/createdestroy b/examples/createdestroy new file mode 160000 index 0000000..b64329f --- /dev/null +++ b/examples/createdestroy @@ -0,0 +1 @@ +Subproject commit b64329f789953dd7921d2426da3947950ccd6287 diff --git a/src/database/pvRecord.cpp b/src/database/pvRecord.cpp index ec54b59..41f7c2f 100644 --- a/src/database/pvRecord.cpp +++ b/src/database/pvRecord.cpp @@ -108,12 +108,13 @@ PVRecord::~PVRecord() if(traceLevel>0) { cout << "~PVRecord() " << recordName << endl; } - notifyClients(); +// notifyClients(); } void PVRecord::remove() { PVDatabasePtr pvDatabase(PVDatabase::getMaster()); + notifyClients(); if(pvDatabase) pvDatabase->removeRecord(shared_from_this()); pvTimeStamp.detach(); for(std::list::iterator iter = pvListenerList.begin();