Skip to content

Invalidate the socket before releasing.#5

Open
GaryHughes wants to merge 1 commit intoOliverLetterer:masterfrom
GaryHughes:incorrect-socket-cleanup
Open

Invalidate the socket before releasing.#5
GaryHughes wants to merge 1 commit intoOliverLetterer:masterfrom
GaryHughes:incorrect-socket-cleanup

Conversation

@GaryHughes
Copy link

The socket was not being invalidated before it was released in dealloc so if you have long running code that is creating and destroying these sockets you will consume socket descriptors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant