Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix infinite recursion when destroying sockets
By having a `getattr` implementation that proxies to the `sock` attribute, there is a risk of infinite recursion when the socket attribute is absent. After closing the socket and destroying it, the recursion can be prevented by setting the attribute to `None`.
- Loading branch information