mostly code cleanup
This commit is contained in:
@@ -112,7 +112,6 @@ PvaClientPutGet::PvaClientPutGet(
|
||||
: pvaClient(pvaClient),
|
||||
channel(channel),
|
||||
pvRequest(pvRequest),
|
||||
isDestroyed(false),
|
||||
connectState(connectIdle),
|
||||
putGetState(putGetIdle)
|
||||
{
|
||||
@@ -125,11 +124,6 @@ PvaClientPutGet::PvaClientPutGet(
|
||||
|
||||
PvaClientPutGet::~PvaClientPutGet()
|
||||
{
|
||||
{
|
||||
Lock xx(mutex);
|
||||
if(isDestroyed) throw std::runtime_error("pvaClientPutGet was destroyed");
|
||||
isDestroyed = true;
|
||||
}
|
||||
if(PvaClient::getDebug()) {
|
||||
string channelName("disconnected");
|
||||
Channel::shared_pointer chan(channel.lock());
|
||||
|
||||
Reference in New Issue
Block a user