Show file descriptors on crash on Windows

This commit is contained in:
Justine Tunney 2024-09-18 21:53:09 -07:00
parent 87a6669900
commit 8313dca982
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 4 additions and 1 deletions

View file

@ -39,7 +39,6 @@ textwindows int sys_getsockopt_nt(struct Fd *fd, int level, int optname,
uint64_t ms;
uint32_t in_optlen;
struct linger_nt linger;
npassert(fd->kind == kFdSocket);
if (out_opt_optval && inout_optlen) {
in_optlen = *inout_optlen;