Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix leaked sock states, issue 1146 (#2)
Fixed leaked sock states, issue tokio-rs#1146. A reference of the sock state Arc is blocked by a pending AFD poll request, this reference will leak if there's no explicit poll done before the program terminates. That's why doing an explicit "select" during iner selector drop ensures all sock state references are freed. Signed-off-by: Daniel Tacalau <dst4096@gmail.com>
- Loading branch information