pvac ensure cancel delivered

This commit is contained in:
Michael Davidsaver
2017-07-18 14:02:47 +02:00
parent 1a47e5fb0a
commit 36be4d3bf7
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ struct GetPutter : public pva::ChannelPutRequester,
GetPutter(pvac::ClientChannel::GetCallback* cb) :started(false), getcb(cb), putcb(0) {}
GetPutter(pvac::ClientChannel::PutCallback* cb) :started(false), getcb(0), putcb(cb) {}
virtual ~GetPutter() {}
virtual ~GetPutter() {cancel();}
void callEvent(Guard& G, pvac::GetEvent::event_t evt = pvac::GetEvent::Fail)
{

View File

@@ -36,7 +36,7 @@ struct RPCer : public pva::ChannelRPCRequester,
RPCer(pvac::ClientChannel::GetCallback* cb,
const pvd::PVStructure::const_shared_pointer& args) :started(false), cb(cb), args(args) {}
virtual ~RPCer() {}
virtual ~RPCer() {cancel();}
void callEvent(Guard& G, pvac::GetEvent::event_t evt = pvac::GetEvent::Fail)
{