Skip to content

Commit c3146db

Browse files
committed
Revert "quic: Clear waited_next in NonIdempotentDataQueueReader"
This reverts commit 2a4c30a.
1 parent 1a8378f commit c3146db

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/dataqueue/queue.cc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,7 @@ class NonIdempotentDataQueueReader final
434434
CHECK(!data_queue_->is_idempotent());
435435
}
436436

437-
~NonIdempotentDataQueueReader() {
438-
if (waited_next_) {
439-
std::move(waited_next_)(
440-
bob::Status::STATUS_EOS, nullptr, 0, [](uint64_t) {});
441-
}
442-
data_queue_->reader_destructed(this);
443-
}
437+
~NonIdempotentDataQueueReader() { data_queue_->reader_destructed(this); }
444438

445439
// Disallow moving and copying.
446440
NonIdempotentDataQueueReader(const NonIdempotentDataQueueReader&) = delete;

0 commit comments

Comments
 (0)