We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4730776 commit 383cf89Copy full SHA for 383cf89
Sources/CIORingShims/CQHandler.cpp
@@ -27,10 +27,8 @@ static void invoke_cqe_block(struct io_uring_cqe *cqe) {
27
auto block = reinterpret_cast<io_uring_cqe_block>(io_uring_cqe_get_data(cqe));
28
assert(block != nullptr);
29
block(cqe);
30
- if ((cqe->flags & IORING_CQE_F_MORE) == 0) {
+ if ((cqe->flags & IORING_CQE_F_MORE) == 0)
31
_Block_release(block);
32
- cqe->user_data = 0; // assert fail on double fire
33
- }
34
}
35
36
int io_uring_cq_handler(struct io_uring *ring) {
0 commit comments