sharedstate: missed a reftrack

This commit is contained in:
Michael Davidsaver
2018-07-11 18:14:54 -07:00
parent 512cc11923
commit e29cda2a74
2 changed files with 3 additions and 0 deletions

View File

@@ -229,6 +229,7 @@ void providerRegInit(void*)
registerRefCounter("pvas::SharedChannel", &pvas::SharedChannel::num_instances);
registerRefCounter("pvas::SharedPut", &pvas::SharedPut::num_instances);
registerRefCounter("pvas::SharedRPC", &pvas::SharedRPC::num_instances);
registerRefCounter("pvas::SharedPV", &pvas::SharedPV::num_instances);
}
ChannelProviderRegistry::shared_pointer ChannelProviderRegistry::clients()

View File

@@ -27,6 +27,7 @@ class Channel;
class ChannelRequester;
class ChannelBaseRequester;
class GetFieldRequester;
void providerRegInit(void*);
}} // epics::pvAccess
namespace pvas {
@@ -163,6 +164,7 @@ public:
int isDebug() const;
private:
friend void epics::pvAccess::providerRegInit(void*);
static size_t num_instances;
weak_pointer internal_self; // const after build()