This commit is contained in:
Michael Davidsaver
2017-11-28 17:32:45 -06:00
parent 736f7c3ff3
commit 4dcc8bffe1

View File

@@ -126,6 +126,9 @@ struct Monitor::Impl : public pva::MonitorRequester,
pvd::Status sts(operation->start());
if(sts.isSuccess()) {
started = true;
/* storing raw pointer to operation, which is expected
* to outlive our 'op'.
*/
last.attach(operation);
} else {
event.message = sts.getMessage();