Skip to content

Null reference exception in Shell when channel is unexpectedly closed #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dagbert opened this issue Sep 2, 2016 · 0 comments
Open

Comments

@dagbert
Copy link

dagbert commented Sep 2, 2016

If the underlying network channel is unexpectedly closed, then in Channel_Closed the _channel member is set to null. This can result in a NullReferenceException when the background read thread attempts to send any new data.
Also _dataReaderTaskCompleted has a similar problem.

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

No branches or pull requests

1 participant