Core/Networking: Fixed Exception from sslstream trying to write while another write was in progress.

Closes #1
This commit is contained in:
hondacrx
2017-06-23 14:39:18 -04:00
parent dab274c5f0
commit ad5ee77680
+1 -13
View File
@@ -106,19 +106,7 @@ namespace Framework.Networking
try
{
_stream.BeginWrite(data, 0, data.Length, WriteHandlerInternal, _stream);
}
catch (Exception ex)
{
Log.outException(ex);
}
}
void WriteHandlerInternal(IAsyncResult result)
{
try
{
_stream.EndWrite(result);
_stream.Write(data, 0, data.Length);
}
catch (Exception ex)
{