back out ChannelProvider change; add PvaMonitor

This commit is contained in:
mrkraimer
2017-06-15 14:40:13 -04:00
parent 619bacc0f4
commit 0912756a2e
5 changed files with 191 additions and 2 deletions

View File

@@ -331,7 +331,7 @@ void PvaClientChannel::issueConnect()
}
connectState = connectActive;
}
ChannelProviderRegistry::shared_pointer reg = ChannelProviderRegistry::getChannelProviderRegistry();
ChannelProviderRegistry::shared_pointer reg(getChannelProviderRegistry());;
ChannelProvider::shared_pointer provider = reg->getProvider(providerName);
if(!provider) {
throw std::runtime_error(channelName + " provider " + providerName + " not registered");