mirror of
https://github.com/basiliscos/syncspirit.git
synced 2026-05-02 17:42:26 +00:00
14 lines
534 B
Diff
14 lines
534 B
Diff
diff --git a/src/osal.c b/src/osal.c
|
|
index cdef5712..b54e91ce 100644
|
|
--- a/src/osal.c
|
|
+++ b/src/osal.c
|
|
@@ -1005,7 +1005,7 @@ MDBX_INTERNAL void osal_ioring_reset(osal_ioring_t *ior) {
|
|
for (ior_item_t *item = ior->pool; item <= ior->last;) {
|
|
if (!HasOverlappedIoCompleted(&item->ov)) {
|
|
assert(ior->overlapped_fd);
|
|
- CancelIoEx(ior->overlapped_fd, &item->ov);
|
|
+ CancelIo(ior->overlapped_fd);
|
|
}
|
|
if (item->ov.hEvent && item->ov.hEvent != ior)
|
|
ior_put_event(ior, item->ov.hEvent);
|