Skip to content

Conversation

occ
Copy link

@occ occ commented Dec 12, 2011

When using .NET 4.0 SocketFrameHandler_0_9.Close() can throw ObjectDisposedException.
Apparently, TcpClient.Close() calls this.Dispose(), which causes the issue.

This patch simply handles the exception and ignores it, since the socket is already closed.

@emile
Copy link

emile commented Jan 31, 2012

Thanks for this patch, however the changes on branch bug24650 are likely to fix this problem. Can you confirm?

@occ
Copy link
Author

occ commented Feb 18, 2012

Looks like it's fixed. Thanks

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.

3 participants