nbio(windows): remove assert that would trigger on cancel/remove

This commit is contained in:
laytan
2026-01-19 19:11:06 +01:00
parent 45beed0fb3
commit 0a63aa05bd

View File

@@ -1756,7 +1756,7 @@ wsa_get_result :: proc(socket: win.SOCKET, over: win.OVERLAPPED) -> (n: int, err
_n: win.DWORD
res := win.WSAGetOverlappedResult(socket, &over, &_n, false, &flags)
assert(!res)
assert(_n == 0)
n = int(_n) // NOTE: It is possible that an amount of bytes is present when the operation was cancelled.
err = win.System_Error(win.WSAGetLastError())
}