first attempt to fix issue 53; add example

This commit is contained in:
mrkraimer committed 2020-02-07 08:54:18 -05:00
1 parent 22ce4440b7
commit 785d654129
2 files changed
+3 -1

No files matched your search

Submodule examples/createdestroy added at b64329f789.
+2 -1
View File
@@ -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<PVListenerWPtr>::iterator iter = pvListenerList.begin();