Sometimes the Disconnect method is called when one or more of the streams are in a Nothing/null state, which causes an exception and an application crash. I've put in checks for each Close() call to make sure the stream object exists first before closing it. Closes #48. (Sorry, this also includes my previous pull request for removing ignored files.)
Sometimes the Disconnect method is called when one or more of the streams are in a Nothing/null state, which causes an exception and an application crash. I've put in checks for each Close() call to make sure the stream object exists first before closing it. Closes #48. (Sorry, this also includes my previous pull request for removing ignored files.)