The defered parameter indicatates if it failed, while the call in Tagger:close asumed that the parameter indicated usable. This is now fixed.
This commit is contained in:
parent
f9d85f5d01
commit
3b7ebb1077
|
|
@ -158,7 +158,7 @@ Deferred &Tagger::close()
|
||||||
if (_close) return *_close;
|
if (_close) return *_close;
|
||||||
|
|
||||||
// create the deferred
|
// create the deferred
|
||||||
_close = std::make_shared<Deferred>(_implementation->usable());
|
_close = std::make_shared<Deferred>(!_implementation->usable());
|
||||||
|
|
||||||
// if there are open messages or there is a queue, they will still get acked and we will then forward it
|
// if there are open messages or there is a queue, they will still get acked and we will then forward it
|
||||||
if (unacknowledged()) return *_close;
|
if (unacknowledged()) return *_close;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue