mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +00:00
gh-102336: Ensure CancelIoEx result is not ignored (GH-102347)
fix ignored return value
This commit is contained in:
parent
f91846ba39
commit
d3d20743ee
|
@ -288,7 +288,7 @@ _winapi_Overlapped_cancel_impl(OverlappedObject *self)
|
|||
|
||||
if (self->pending) {
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
CancelIoEx(self->handle, &self->overlapped);
|
||||
res = CancelIoEx(self->handle, &self->overlapped);
|
||||
Py_END_ALLOW_THREADS
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue