Files
rust/library/std/src/os
Dan Gohman 95e1702284 Preserve the Windows GetLastError error in HandleOrInvalid.
In the `TryFrom<HandleOrInvalid> for OwnedHandle` and
`TryFrom<HandleOrNull> for OwnedHandle` implemenations, `forget` the
owned handle on the error path, to avoid calling `CloseHandle` on an
invalid handle. It's harmless, except that it may overwrite the
thread's `GetLastError` error.
2022-03-20 15:37:31 -07:00
..
2021-03-16 17:43:33 -04:00
2021-05-03 16:56:20 +02:00
2021-09-28 11:31:47 +09:00