client: fix batch pop() of exception
This commit is contained in:
1 parent
af3c870b7a
commit
a4e974def9
1 file changed
+2
-2
+2
-2
@@ -160,11 +160,11 @@ struct SubscriptionImpl final : public OperationBase, public Subscription
|
||||
{
|
||||
{
|
||||
if(!queue.empty()) {
|
||||
auto ent(std::move(queue.front()));
|
||||
|
||||
if(!canthrow && ent.exc)
|
||||
if(!canthrow && queue.front().exc)
|
||||
return;
|
||||
|
||||
auto ent(std::move(queue.front()));
|
||||
queue.pop_front();
|
||||
|
||||
if(pipeline) {
|
||||
|
||||
Reference in new issue
Block a user