Fix PendingIo: CancelIo should be passed the HANDLE, not the OVERLAPPED
This commit is contained in:
parent
982e8051a5
commit
75ad04155f
@ -202,7 +202,7 @@ public:
|
||||
if (!m_finished) {
|
||||
// We're not usually that interested in CancelIo's return value.
|
||||
// In any case, we must not throw an exception in this dtor.
|
||||
CancelIo(&m_over);
|
||||
CancelIo(m_file);
|
||||
waitForCompletion();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user