Fix PendingIo: CancelIo should be passed the HANDLE, not the OVERLAPPED

This commit is contained in:
Ryan Prichard 2016-05-28 22:15:31 -05:00
parent 982e8051a5
commit 75ad04155f

View File

@ -202,7 +202,7 @@ public:
if (!m_finished) { if (!m_finished) {
// We're not usually that interested in CancelIo's return value. // We're not usually that interested in CancelIo's return value.
// In any case, we must not throw an exception in this dtor. // In any case, we must not throw an exception in this dtor.
CancelIo(&m_over); CancelIo(m_file);
waitForCompletion(); waitForCompletion();
} }
} }