mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: #3704 remove old fix for #2353 which caused log spam and isn't needed anymore since the original Mirror issue is long gone
This commit is contained in:
parent
4caa831bdb
commit
0d64d4718f
@ -187,19 +187,6 @@ public void Send(ArraySegment<byte> segment, KcpChannel channel)
|
||||
SendData(segment, channel);
|
||||
}
|
||||
|
||||
public override void Disconnect()
|
||||
{
|
||||
// only if connected
|
||||
// otherwise we end up in a deadlock because of an open Mirror bug:
|
||||
// https://github.com/vis2k/Mirror/issues/2353
|
||||
if (!connected) return;
|
||||
|
||||
// call Disconnect and let the connection handle it.
|
||||
// DO NOT set it to null yet. it needs to be updated a few more
|
||||
// times first. let the connection handle it!
|
||||
base.Disconnect();
|
||||
}
|
||||
|
||||
// insert raw IO. usually from socket.Receive.
|
||||
// offset is useful for relays, where we may parse a header and then
|
||||
// feed the rest to kcp.
|
||||
|
Loading…
Reference in New Issue
Block a user