This commit is contained in:
2024-11-03 11:36:58 +03:00
parent 672bb1ff6d
commit edf90b39c4
79 changed files with 233 additions and 3830 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ namespace Ragon.Client
{
private readonly INetworkConnection _connection;
private readonly NetworkStatistics _stats;
private IHandler[] _handlers;
private RagonStream _readBuffer;
private RagonStream _writeBuffer;
@@ -99,7 +99,7 @@ namespace Ragon.Client
public void Disconnect()
{
_status = RagonStatus.DISCONNECTED;
_room.Cleanup();
_room?.Cleanup();
_connection.Disconnect();
OnDisconnected(RagonDisconnect.MANUAL);