- Notifications
You must be signed in to change notification settings - Fork341
Closed
Description
async-std/src/os/unix/net/stream.rs
Lines 253 to 257 indbc98fa
implIntoRawFdforUnixStream{ | |
fninto_raw_fd(self) ->RawFd{ | |
self.as_raw_fd() | |
} | |
} |
.as_raw_fd
doesn't take the ownership of the fd, so the fd is closed whenself
is dropped. This was#147 , which was fixed, then apparently reintroduced.
I thought I added a test case to catch this....
Metadata
Metadata
Assignees
Labels
No labels