bugfix - fixes bug where channel declaration deferred object is put in fail state after successful send of data
refs #12
This commit is contained in:
parent
b9ca150dba
commit
d2a97c1dd3
|
|
@ -117,7 +117,7 @@ Deferred &ChannelImpl::push(Deferred *deferred)
|
|||
Deferred &ChannelImpl::push(const Frame &frame)
|
||||
{
|
||||
// send the frame, and push the result
|
||||
return push(new Deferred(send(frame)));
|
||||
return push(new Deferred(!send(frame)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue