Bugfix with Remote Desktop

Fixed a bug where after using Remote Desktop and client
disconnection/reconnection, the server wasn't able to run Remote Desktop
again.  I believe there is an issue with the buffer/flow in the
UnsafeStreamCodec class however I wasn't able to pinpoint it.  Setting
this object to null allows a new object to be created when running
Remote Desktop with a fresh buffer.
This commit is contained in:
d3agle 2015-04-04 20:14:37 -05:00
parent 5d20aad9d6
commit 9dbbf18bd3
1 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,8 @@ namespace xClient.Core
_writeOffset = 0;
_readableDataLen = 0;
_payloadLen = 0;
Core.Commands.CommandHandler.StreamCodec = null;
}
}